Split a string_type into whitespace separated words.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(string_type), | intent(in) | :: | string |
pure function tokenize_string(string) result(tokens) !! Split a `string_type` into whitespace separated words. type(string_type), intent(in) :: string type(string_type), allocatable :: tokens(:) tokens = tokenize_char(char(string)) end function tokenize_string