Next: , Previous: LEN, Up: Intrinsic Procedures


6.116 LEN_TRIM — Length of a character entity without trailing blank characters

Description:
Returns the length of a character string, ignoring any trailing blanks.
Standard:
F95 and later
Class:
Elemental function
Syntax:
RESULT = LEN_TRIM(STRING)
Arguments:

STRING Shall be a scalar of type CHARACTER(*), with INTENT(IN)

Return value:
The return value is an INTEGER of the default kind.
See also:
LEN, ADJUSTL, ADJUSTR