Description
Returns the index of the first occurrence of a substring, or -1 if not found.
Examples
set idx to index of "l" in "hello"Every distinct way you can write this pattern, with optional groups and choice groups expanded. Placeholders are shown as <name>.
index of <needle> in <haystack>Related (Text)