lnblnk_(str)

Purpose

The lnblnk_ function returns the index of the last non-blank character in the string STR. If the string contains no non-blank characters, 0 is returned.

Class

Function

Argument type and attributes

str
CHARACTER(*), INTENT(IN)

Result type and attributes

INTEGER(4)

Result value

The index of the last non-blank character in the string, or 0 if there are no non-blank characters