len_trim(3I)

LEN_TRIM - Returns the length of the character argument without counting trailing blank characters

As shipped in IRIX 6.5.7. Last changed in IRIX 6.5.5.

NAME
     LEN_TRIM - Returns the length of the character argument without
     counting trailing blank characters

SYNOPSIS
     LEN_TRIM ([STRING=]string)

IMPLEMENTATION
     UNICOS, UNICOS/mk, IRIX systems

     CF90, MIPSpro 7 Fortran 90

STANDARDS
     Fortran

DESCRIPTION
     The LEN_TRIM intrinsic function returns the length of the character
     argument without counting trailing blank characters.  It accepts the
     following argument:

     string    Must be of type character

     LEN_TRIM is an elemental function.  The name of this intrinsic cannot
     be passed as an argument.

RETURN VALUES
     The result type is default integer.  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 0.

EXAMPLES
     LEN_TRIM(' A B  ') has the value 4.  LEN_TRIM('  ') has the value 0.

SEE ALSO
     Intrinsic Procedures Reference Manual for the printed version of this
     man page.