Wednesday, February 8th, 2012
News Feed Comments
Just another WordPress weblog
0
Javascript trim function
function
trim(stringToTrim) {
return stringToTrim.replace(/^\s+|\s+$/g,”");
}
Posted by rathi on Thursday, September 17, 2009 at 3:04 am Filed under Client Side Scripts · Tagged with
Tell us what you're thinking... and oh, if you want a pic to show with your comment, go get a gravatar!
Name (required)
Mail (will not be published) (required)
Website
Sign up to receive breaking news as well as receive other site updates!
© 2012 StudyJava.org · · Powered by WordPress · Log in