InStr(
string:string,
string:search,
[int:start],
[string:flags]
)
→ int
| c | Consider case when performing the search (case-sensitive) |
| r | Reverse search for the last match instead of the first |
| i | Ignore diacritics |
| w | Only match whole words |
| s | Only match exactly at the specified start position |
Returns the position that search was found within string, or -1 if not found.
Example:
Output(InStr("The quick brown fox", "quick"))
--> 4
See also:
Count