10 6 38 LastPositionOf

LANSA Technical

10.6.38 LastPositionOf

LastPositionOf returns the last position of a string in the subject string. If the string is not found, the result will be 0.

LastPositionOf is case sensitive.

Input Parameters

String - String to be searched for.

Example

In this example, if #String contained ABCDEFGHIJKLMNOPQRSTUVWXYZ, the result would be 13:

#LastPosition := #String.LastPositionOf( M )

 

Ý 10.6 Alphanumeric/String Intrinsic Functions