IndexOf
Last updated
Was this helpful?
Last updated
Was this helpful?
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.
source
text
the source in which the function will search for the search text
search
text
the text to search for