Split a string on every occurrence of a delimiter, keeping empty fields.
The result always holds one more element than there are delimiter occurrences, so an empty input yields one empty element. See the module documentation for the full policy.
Split a character string on a character delimiter.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | string | |||
| character(len=*), | intent(in) | :: | delimiter |
Split a character string on a string_type delimiter.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | string | |||
| type(string_type), | intent(in) | :: | delimiter |
Split a string_type on a character delimiter.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(string_type), | intent(in) | :: | string | |||
| character(len=*), | intent(in) | :: | delimiter |
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 |