Monday, May 3, 2010

Javascript String Contains Function

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

0 comments: