indexOf() method returns the starting location of the first match
with otherString, beginning at location position in this
String. The position index is zero-based.
The method returns
-1 if a match with otherString isn’t found.
Starting location of the first matching otherString or
Is this article helpful?
Tell Fauna how the article can be improved:
Thank you for your feedback!