RandomSec/main/webapp/scripts/util/string.js
Stefano Mazzocchi 365868564f create 'main' and 'server'
git-svn-id: http://google-refine.googlecode.com/svn/branches/split-refactor@905 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-30 16:52:50 +00:00

3 lines
96 B
JavaScript

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