trim Interface

public interface trim

Trims any trailing blanks from the end of the string.


Contents


Module Procedures

private pure elemental function string_trim(x) result(rst)

Trims any trailing blanks from the end of the string.

Arguments

Type IntentOptional Attributes Name
type(string), intent(in) :: x

The string on which to operate.

Return Value type(string)

The trimmed string.