Find the position of this variable in a string
Member of String Intrinsic Functions (PRIM_LIBI.ICommonStringIntrinsics)
Name | Type | Data Type | Description |
---|---|---|---|
Result | *Result (Optional) | Integer | Resulting position |
String | *Input | String | String to be searched |
StartPosition | *Input (Optional) | Integer | Position at which to start searching |
PositionIn returns character position of the first occurrence of the String in the supplied string parameter after the StartPosition. PositionIn is case sensitive.
In this example, if #String contained "EAB", the result would be 5
#Position := #String.PositionIn( "ABCDEABCDEABCDE" )
Febuary 18 V14SP2