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_object(string) result(length)

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

Arguments

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

Return Value integer