string.findLastNoCase()

edit

Finds the last occurrence of a substring in a string, from a specified start position. If substring is not in string, returns zero. The search is case-insensitive.

Introduced: 5.3.5.22

string.findLastNoCase( substring=string, start=number )

Returns: Number

Argument Description
substring
string, required
edit

String for which to search.

start
number, optional
edit

End position of search from the left.

Examples

edit
string = "Susi Sorglos";
writeDump(string.findLastNoCase("s"));
writeDump(string.findLastNoCase("s",1));
writeDump(string.findLastNoCase("S",4));

See also