position of first occurence of string or specified value
JavaScript: Find position of first occurrence of sub-string or value using IndexOf method in JavaScript.
July 15, 2015
Introduction: Some time we need to find the position of the first occurrence of a specified value in given string. …