len_trim Interface

public interface len_trim

Returns the length of the character sequence without trailing spaces represented by the string.

This method is elemental and returns a default integer scalar value.


Contents


Module Procedures

private elemental function len_trim_string(string) result(length)

Returns the length of the character sequence without trailing spaces represented by the string.

Arguments

Type IntentOptional AttributesName
type(string_type), intent(in) :: string

Return Value integer