Javascript Trim Ltrim and RTrim Functions

This set of Javascript functions trim or remove whitespace from the ends of strings. These functions can be stand-alone or attached as methods of the String object. They 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.

 
Visit Site:
Javascript Trim Ltrim and RTrim Functions
Filed in:
JavaScript / Tutorials & Tips / Miscellaneous
Platforms:
LinuxMicrosoft WindowsUnixApple Mac OS XSun Solaris 
Databases:
No Database 
Date Added:
Oct 19, 2006 
Last Updated:
Jun 18, 2007 

License and Pricing Information

Freeware

Price: $0.00 USD

Publisher site visits: 786
Average rating: 0.00
Total ratings: 0

Be the first to review this listing!

Share this Listing