return str.replace( /(^\s+|\s+$)/g, "" ); 
return str.replace(/(^\s+|\s+$)/g, ""); 
function trimString(str) {    return str.replace( /(^\s+|\s+$)/g, "" );}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/64fa0031c18ffbcccb6d772168cab3b330d991f6/calWcapUtils.js/buggy/calendar/providers/wcap/calWcapUtils.js