Javascript string contains

JavaScript String indexOf() Method Definition and Usage The indexOf() method returns the position of the first occurrence of a specified value in a string. This method returns -1 if the value to search for never occurs. Note: The indexOf() method is case sensitive. Syntax string.indexOf(searchvalue,start) Parameter Values Parameter Description searchvalue Required. The string to search 

Continue Reading…