JavaScript String Methods
The indexOf() method accepts a second parameter as the starting position for the search: