JS

JavaScript String Search

The indexOf() method returns the index of (position of) the first occurrence of a string in a string: