Unicode Intrinsic Functions - PositionIn Method

Find the position of this variable in a string

Member of Unicode Intrinsic Functions (PRIM_LIBI.IUnicodeIntrinsics)

Parameters

NameTypeData TypeDescription
Result*Result (Optional)IntegerResulting position
String*InputUnicode StringString to be searched
StartPosition*Input (Optional)IntegerPosition at which to start searching

Details

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

Example

In this example, if #String contained "EAB", the result would be 5
#Position := #String.PositionIn( "ABCDEABCDEABCDE" )

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2