Return to Snippet

Revision: 5974
at April 18, 2008 05:58 by gbot


Initial Code
String.prototype.trim = function() { return this.replace(/^\s+|\s+$/g, ''); }

Initial URL

                                

Initial Description

                                

Initial Title
string trim function

Initial Tags

                                

Initial Language
JavaScript