find( search_text, within_text, start_num )
Returns index location of case-sensitive substring with given string. Returns the one-based location index of the first character of the first match.
See also: search()
Keyword | Type | Description |
---|---|---|
|
Text |
The text that will be searched for. |
|
Text |
The text that will be searched in. |
|
Number |
The index of the first character within the within_text value from which to start searching. 0 by default. |
Number
find("to","boston",1)
returns 4