Return the length of a string object.
This generic interface extends the intrinsic Fortran len function to support the fpx string type.
The returned value corresponds to the full length of the underlying character storage, including trailing blanks.
If the string is not allocated, the returned value is zero.
Basic usage:
Unallocated strings:
Definition at line 164 of file string.f90.
| elemental integer function string_len | ( | class(string), intent(in) | this | ) |
Length of the string entity.
| [in] | this | string |
Examples
Definition at line 460 of file string.f90.