Returns the length of a character string, ignoring any trailing blanks.
Fortran 90 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) A scalar INTEGER constant 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.
LEN — Length of a character entity, ADJUSTL — Left adjust a string, ADJUSTR — Right adjust a string
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gfortran/LEN_005fTRIM.html