tokenize_string Function

private pure function tokenize_string(string) result(tokens)

Split a string_type into whitespace separated words.

Arguments

Type IntentOptional Attributes Name
type(string_type), intent(in) :: string

Return Value type(string_type), allocatable, (:)


Calls

proc~~tokenize_string~~CallsGraph proc~tokenize_string tokenize_string proc~tokenize_char tokenize_char proc~tokenize_string->proc~tokenize_char

Called by

proc~~tokenize_string~~CalledByGraph proc~tokenize_string tokenize_string interface~tokenize tokenize interface~tokenize->proc~tokenize_string

Source Code

   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