Searches the first string for any occurrence of the second string. If the string is found, it returns the zero based index of the first occurrence. If the string is not found, it returns -1.
<global>
number
Name | Type | Description |
---|---|---|
s1 | string | The string to be searched. |
s2 | string | The string to search for. |