Description: Illustrates the JavaScript syntax for the String IndexOf .
Syntax: string.indexOf(searchstring, start) – Returns the position of the first found occurrence of a specified value in a string – start is optional.