Lastindexof

Description
Finds the last position in the source string where the pattern can be found. Returns the index at the beginning of the match, otherwise returns 0 if not found. Case-sensitive.

Syntax
lastindexof

Parameters

 * source
 * any text
 * pattern
 * any string to find the last of within the source text

Examples
var sourcetext Hello World eval result lastindexof("%sourcetext","o") Result: 8