33556Javascript Trim LTrim and RTrim Functionshttp://www.somacon.com/p355.phpThese functions can left trim, right trim, or trim from both sides of the string. Rather than using a clumsy loop, they use simple, elegant regular expressions. The functions are granted to the public domain.JavaScript > Tips and Tutorials > MiscellaneousOct 19, 2006Shailesh N. Humbad
For your website to have traffic, people should remember your site and visit again. This problem was solved long time ago with browser's Bookmarks. Still, people are lazy and usually are not using it, unless you remind them. So a Bookmark us script on your site is very useful
Suppose you have the string "The rain in spain falls mainly on the plain." and want to replace all the lowercase a's with the uppercase A. Ideally there would be a replaceAll method on the String that could be used something like this.
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.