string.findLastNoCase()
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
|
String for which to search. |
start
number,
optional
|
End position of search from the left. |
Examples
string = "Susi Sorglos";
writeDump(string.findLastNoCase("s"));
writeDump(string.findLastNoCase("s",1));
writeDump(string.findLastNoCase("S",4));