len_trim(3I)

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

As shipped in IRIX 6.5.22. Last changed in IRIX 6.5.19.

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

SYNOPSIS
     LEN_TRIM ([STRING=]string)

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  ') yields 4.

     LEN_TRIM('  ') yields 0.