HP Fortran Programmer's Reference (September 2007)

Intrinsic procedures
Intrinsic procedure specifications
Chapter 11580
LEN_TRIM(STRING)
Description
Returns the length of the character argument without counting trailing blank characters.
Class
Elemental function.
Argument
STRING must be of type character.
Result type/
type parameter
Default integer.
Result value
The result has a value equal to the number of characters remaining after any trailing blanks
in STRING are removed. If the argument contains no nonblank characters, the result is zero.
Specific forms
KLEN_TRIM.
LGE(STRING_A, STRING_B)
Description
Tests whether a string is lexically greater than or equal to another string, based on the ASCII
collating sequence.
Class
Elemental function.
Arguments
STRING_A must be of type default character.
STRING_B must be of type default character.