Returns the length of a character string. If STRING is an array, the length of an element of STRING is returned. Note that STRING need not be defined when this intrinsic is invoked, since only the length, not the content, of STRING is needed.
Fortran 77 and later, with KIND argument Fortran 2003 and later
L = LEN(STRING [, KIND])
|STRING||Shall be a scalar or array of type
The return value is of type
INTEGER and of kind KIND. If KIND is absent, the return value is of default integer kind.
||Fortran 77 and later|
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.