The JavaScript indexOf() method allows you to find out if a string contains one or more characters, and if so, the starting position of that set of characters