Next: LGE, Previous: LEN, Up: Intrinsic Procedures [Contents][Index]
LEN_TRIM — Length of a character entity without trailing blank charactersReturns the length of a character string, ignoring any trailing blanks.
Fortran 95 and later, with KIND argument Fortran 2003 and later
Elemental function
RESULT = LEN_TRIM(STRING [, KIND])
| STRING | Shall be a scalar of type CHARACTER,
with INTENT(IN) |
| KIND | (Optional) An INTEGER initialization
expression indicating the kind parameter of the result. |
The return value is of type INTEGER and of kind KIND. If
KIND is absent, the return value is of default integer kind.