IndexOf
Returns the position as a numeric value where the searched text is found within the source.
The index of the first character is 1, the second character is 2, etc. (1-based).
Returns 0 if the searched text is not found within the source.
Syntax
Parameters
Name
Type
Required
Description
source
text
☑️
the source in which the function will search for the search text
search
text
☑️
the text to search for
Last updated
Was this helpful?