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.


Contents


Module Procedures

private elemental function trim_object(string) result(trimmed_string)

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

Arguments

Type IntentOptional AttributesName
class(string_class), intent(in) :: string

Return Value type(string_type)