Reference: http://www.nicknettleton.com/zine/javascript/trim-a-string-in-javascript
var trimmed = str.replace(/^\s+|\s+$/g, '') ;
Programming Journal C#, Java, SQL and to a lesser extent HTML, CSS, XML, and regex. I made this so other programmers could benefit from my experience.
Subscribe to:
Post Comments (Atom)
1 comment:
Hi Everybody!
i've been trying to figure out a place to begin the acai free trial and was just wondering if anybody had any thoughts on whether or not it works for weight loss? So far here's the only [url=http://blogbud.com/cgi-bin/index.pl?sitename=acaiberrydetox&item=home]article[/url] I've been able to come across that seemed real for what my goals are. Thoughts?
Post a Comment