strIndexOf(text,toFind,start,ignoreCase)¶
Definition¶
Integer strIndexOf(String text, String toFind, Integer start, Boolean ignoreCase)
Description¶
Returns the 0 based index of the toFind within the text starting at the specified index, with the option to ignore case. If toFind does not exist from the specified start index, returns -1.
Parameter Definition¶
Name | Type | Description |
---|---|---|
text | String | The base string to to find substring from |
toFind | String | the substring to find |
start | Integer | the char to start looking at, null indicates from start |
ignoreCase | Boolean | true indicates it should case insensitive match |