String :: lastPosition - Locate last occurence of character in string
The function returns the index position of the last occurrence of the character passed in iValue .
Comparison depends on the string coding type of the calling string. The value passed must meet the encoding of the string to be searched.
When the character has been found, the function returns the absolute position (in units) of the character. When the value could not be found, the function returns -1 .
Return value: Integer value ( int32 )
The value is passed as platform independent 32-bit integer value.
Implementation overview
- - Title unknown
String :: lastPosition ( iValue ) - - internal feature (not documented)
String :: lastPosition ( cString )
Implementation details
- to list
-
- internal feature (not documented)
int32 String  :: lastPosition ( odaba::String &cString )
- cString
- Constant string object
When iPosition exceeds the string length or when the string is empty, the the function returns -1 (lower).
to list
- cString
- Constant string object