{"name":"gist: 897945","desc":"Adds a trim function to strings","actor":"Wolfy87","url":"https://gist.github.com/897945","snippet":"if(typeof String.prototype.trim === 'undefined') {\n    String.prototype.trim = function() {\n        return this.replace(/^\\s+|\\s+$/g, '');","actor_gravatar":"daf6b6cb6484f30f3b15185216956d44","action":"create"}