lngstring Function

public function lngstring(string, lstrmax)

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.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: string

Input string

integer, intent(in) :: lstrmax

Maximum length of the string

Return Value integer