inString | String String in which you want to locate a sequence of characters. |
subString | String Sequence of characters to locate. |
fromIndex | String Optional. Index of inString from which to start the search. If no value is specified, this parameter contains 0 to indicate the beginning of the string. |
value | String Index of the first occurrence of subString in inString. If no occurrence is found, this parameter contains -1. |