/ Published in: JavaScript
URL: http://www.codestore.net/store.nsf/unid/BLOG-20060313
Expand |
Embed | Plain Text
String.prototype.trim = function() { a = this.replace(/^\s+/, ''); return a.replace(/\s+$/, ''); };
You need to login to post a comment.
