Remove trailing blanks from a string object.
This generic interface extends the intrinsic Fortran trim function to support the fpx string type.
The result is returned as a deferred-length intrinsic character expression with trailing blanks removed.
If the string is not allocated, an empty character string is returned.
Basic usage:
Unallocated strings:
Definition at line 240 of file string.f90.
| pure character(:) function, allocatable string_trim | ( | class(string), intent(in) | this | ) |
Returns a copy of the string with trailing blanks removed.
| [in] | this | string |
Definition at line 500 of file string.f90.