Javascript String trimLR=function()
function()
String.prototype.trimLR=function(){ return this.replace(/(^\s*)(\s*$)/g,''); }