string.findNoCase()
Finds the first 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.
string.findNoCase( substring=string, start=number )
Returns: Number
Argument | Description |
---|---|
substring
string,
required
|
String for which to search. |
start
number,
optional
|
Start position of search. |
Examples
str="Save TRee! Save World!!!";
writeOutput(str.FindNoCase('r',1));