index of %needle:STRING% in %haystack:STRING% — Expressions

index of %needle:STRING% in %haystack:STRING%
Text1.0.0

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"

All Possible Usages (1)

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)