LEN(3I) Last changed: 1-6-98
NAMELEN - Determines the length of a character string
SYNOPSISLEN ([STRING=]string)
IMPLEMENTATION
UNICOS, UNICOS/mk, and IRIX systems
STANDARDS
Fortran 90
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, publication SR-2138, for the
printed version of this man page.