Return the trimmed length of a string object.
This generic interface extends the intrinsic Fortran len_trim function to support the fpx string type.
The returned value corresponds to the number of characters after removing trailing blanks.
If the string is not allocated, the returned value is zero.
Basic usage:
Unallocated strings:
Definition at line 201 of file string.f90.
| pure integer function string_len_trim | ( | class(string), intent(in) | this | ) |
Length of the string entity without trailing blanks (len_trim).
| [in] | this | string |
Examples
Definition at line 485 of file string.f90.