Course contentsShow
JavaScript
Lesson 158 of 2,7235. StringsPro lesson

indexOf(): Finding the First Occurrence

Locate the position of the first occurrence of a substring, or -1 if not found.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.