Return the trimmed length of a string.
Remarks
Definition at line 138 of file string.f90.
The documentation for this interface was generated from the following file:
◆ string_len_trim()
| pure integer function string_len_trim |
( |
class(string), intent(in) | this | ) |
|
Length of the string entity without trailing blanks (len_trim).
- Parameters
-
Examples
type(string) :: s
integer :: l
s = string('foo ')
l = len_trim(s)
! the value of l is 3
- Returns
- An integer corresponding to the trimmed length of the string.
Remarks
Definition at line 255 of file string.f90.