Javascript Trim Ltrim and RTrim Functions

Visit Publisher Site

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 publisher site: Javascript Trim Ltrim and RTrim Functions

Listing Details

Filed in:
Scripts / JavaScript / Tutorials & Tips / Miscellaneous
Submitted on:
 
Last Updated:
 
Publisher:
Shailesh Humbad Other listings by this publisher

License & Pricing Information

LICENSE #1
License Type:
Freeware
Price:
$0.00 USD
Additional Info:

User Reviews 

Be the first to review this listing!