findLast

Finds the last occurrence of srchstring in string and returns its position.

Syntax

findLast(string, srchstring)

Parameters

string

Specifies the original string.

srchstring

Specifies the string to search for.

Returns

Returns the position of srchstring in the string or -1 if not found.