Javascript String contains(searchString)

Description

Javascript String contains(searchString)

String.prototype.contains = function(searchString){
    return (this.indexOf(searchString) != -1);
};



PreviousNext

Related