10 6 44 PositionIn

LANSA Technical

10.6.44 PositionIn

PositionIn returns character position of the first occurrence of the String in the supplied string parameter after the StartPosition.

PositionIn is case sensitive

Input Parameters

String - String to be searched

StartPosition - Character to start searching from

Example

In this example, if #String contained 'EAB', the result would be 5:

#Position := #String.PositionIn( 'ABCDEABCDEABCDE' )

 

Ý 10.6 Alphanumeric/String Intrinsic Functions