trim Interface

public interface trim

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

This method is elemental and returns a scalar character value.

Calls

interface~~trim~~CallsGraph interface~trim trim proc~trim_string trim_string interface~trim->proc~trim_string proc~maybe maybe proc~trim_string->proc~maybe

Module Procedures

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)