len(3I)

LEN - Determines the length of a character string

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

NAME
     LEN - Determines the length of a character string

SYNOPSIS
     LEN ([STRING=]string)

IMPLEMENTATION
     UNICOS, UNICOS/mk, IRIX systems

     CF90, MIPSpro 7 Fortran 90, MIPSpro Fortran 77

STANDARDS
     Fortran

DESCRIPTION
     The LEN intrinsic function takes Fortran character string arguments
     and returns an integer length.  This function accepts the following
     argument:

     string    Must be of type character.  It can be scalar or array
               valued.

     LEN is an inquiry function.  The name of this intrinsic can be passed
     as an argument.

RETURN VALUES
     The result type, type parameter, and shape are default integer scalar.
     The result has a value equal to the number of characters in string if
     it is a scalar or in an element of string if it is array valued.

EXAMPLES
     The following program returns the length of the character string I=37:

          PROGRAM LENTEST
          I=LEN('|...+....1....+....2....+....3....+..')
          PRINT *,I
          STOP
          END

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