Expand description
Returns the index of search
in subject
.
Functions
Returns an array of all occurrence index of
search
in subject
or an empty array if not found. Case sensitive.Returns the first occurrence index of
search
in subject
or -1 if not found. Case sensitive.Returns the last occurrence index of
search
in subject
or -1 if not found. Case sensitive.Returns the first index of a
pattern
match in subject
.
NOTE: Executes regular expressions only on valid UTF-8 while exposing match locations as byte indices into the search string (see case #3).