Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Compatible Unicode Intrinsic Functions - LastPositionOf Method

Panel
bgColor#2c3c4c

Find the last position of the value in this variable

Member of Compatible Unicode Intrinsic Functions (PRIM_LIBI.ICompatibleUnicodeIntrinsics)

Parameters

Name

Type

Data Type

Description

Result

*Result (Optional)

Integer

Resulting position

String

*Input

Unicode String

String to be searched for

Details

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.

Example

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

     #LastPosition := #String.LastPositionOf( "M" )


See also

All Component Classes

Technical Reference