trim_string Function

private elemental function trim_string(string) result(trimmed_string)

Returns the character sequence hold by the string without trailing spaces.

Arguments

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

Return Value type(string_type)


Calls

proc~~trim_string~~CallsGraph proc~trim_string trim_string proc~maybe maybe proc~trim_string->proc~maybe

Called by

proc~~trim_string~~CalledByGraph proc~trim_string trim_string interface~trim trim interface~trim->proc~trim_string

Source Code

elemental function trim_string(string) result(trimmed_string)
   type(string_type), intent(in) :: string
   type(string_type) :: trimmed_string

   trimmed_string = trim(maybe(string))

end function trim_string