split_string_string Function

private pure function split_string_string(string, delimiter) result(parts)

Split a string_type on a string_type delimiter.

Arguments

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

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


Calls

proc~~split_string_string~~CallsGraph proc~split_string_string split_string_string proc~split_char_char split_char_char proc~split_string_string->proc~split_char_char

Called by

proc~~split_string_string~~CalledByGraph proc~split_string_string split_string_string interface~split split interface~split->proc~split_string_string

Source Code

   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