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.


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 Attributes Name
type(string_type), intent(in) :: string

Return Value integer