StrLastIndexOf

This function reports the index, beginning from 1, of the last occurrence of a source string.

SYNTAX
StrLastIndexOf(searchString, sourceString, ignoreCase) 
ARGUMENTS

searchString The string to search for
sourceString The source string
ignoreCase TRUE = Case is ignored during the search

FALSE = Case is included in the search

RETURN The index position, beginning from 1, of the value parameter if the string exists, or -1 if it does not exist.
EXAMPLE
retvalue = StrLastIndexOf("N","Dot Net Perls",true)

if(retvalue <> 5)

   Raise("Error", "StrLastIndexOf() The result should be 5 but is " + retvalue)

end-if