|
ReverseFind
int
ReverseFind(string
string, string character)
Return Value
The zero-based index of the last
character in this string that matches the requested
character; -1 if the character is not found.
Parameters
string – string to search in.
character
– character to search for.
Remarks
Searches this string for
the last match of a character.
Example
The following example demonstrates
the use of ReverseFind.
# Example for ReverseFind
intiPos
=
ReverseFind("Hello,
World", "W")
Println("Position
of W is: ", iPos)
Output of the example
script:
Position of W is: 7
|