Finds the length of a string
Note
Jonathan Chico: Wouldn't using the fortran intrinsic functions such as trim()
and len() be a better solution to this?
Jonathan Chico: This routine seems to do the same than the length() function. Both
seem to be unnecessary if one instead uses fortran intrinsic functions.
Finds the length of a string
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | string |
Input string |
||
| integer, | intent(in) | :: | lstrmax |
Maximum length of the string |