Finds the length of a string
Note
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.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | string |
Input string |
||
integer, | intent(in) | :: | lstrmax |
Maximum length of the string |