// rialto framework, http://blog.stevenlevithan.com/archives/faster-trim-javascript#comment-25038// VERY looks to be buggy as it returns different results than others in Epiphany, Chromium, Opera (in Opera even differently)// bug for " ", ' 40. To no one. ', '40. To no one. 'function trim22(str){return str.replace(/^\s*(\b.*\b|)\s*$/,'$1');} trim22.buggy=true;