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