function trim(stringToTrim) { return stringToTrim.replace(/^\s+|\s+$/g,”"); }
Leave a Comment » | JavaScript | Permalink Posted by naveenj
You are currently browsing the Naveen Jose blog archives for the day Wednesday, December 26th, 2007.