str_get_keyval Subroutine

public subroutine str_get_keyval(str, key, val, delimiter)

Split a string str into two strings, key and val based on space delimiter.

A non-empty non-comment string should be passed to this subroutine. Keys can have corresponding empty values, but keys must always be present

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: str
character(len=:), intent(out), allocatable:: key
character(len=:), intent(out), allocatable:: val
character(len=*), intent(in), optional :: delimiter

Called by

proc~~str_get_keyval~~CalledByGraph proc~str_get_keyval str_get_keyval program~main main program~main->proc~str_get_keyval proc~control_read control_read proc~control_read->proc~str_get_keyval

Contents

None