Split a string_type on a string_type delimiter.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(string_type), | intent(in) | :: | string | |||
| type(string_type), | intent(in) | :: | delimiter |
pure function split_string_string(string, delimiter) result(parts) !! Split a `string_type` on a `string_type` delimiter. type(string_type), intent(in) :: string type(string_type), intent(in) :: delimiter type(string_type), allocatable :: parts(:) parts = split_char_char(char(string), char(delimiter)) end function split_string_string