rem:  var b = 0; while(this.substr(b,1) == " ") { b++; }  var e = this.length - 1; while(this.substr(e,1) == " ") { e--; }  return this.substring(b, e+1); 
add: return this.replace(/^\s+/, '').replace(/\s+$/, ''); 
context: String.prototype.trim = function() {        var b = 0;    while(this.substr(b,1) == " ") {        b++;    }        var e = this.length - 1;    while(this.substr(e,1) == " ") {        e--;    }        return this.substring(b, e+1);};
meta: 1027	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1027/359c66ed52b75b14c81a89c93706ff78647119e9/BaseTypes.js/buggy/lib/OpenLayers/BaseTypes.js