// Quick string trim function
String.prototype.trim = function() { return this.replace(/^\s+\s+$/g, ''); }
Showing posts with label javascript.trim javascript trim. Show all posts
Showing posts with label javascript.trim javascript trim. Show all posts
Wednesday, November 28, 2007
javascript trim frunction (String prototype)
Subscribe to:
Posts (Atom)