Javascript Trim Ltrim and RTrim FunctionsHits: 38
****
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.
Platform(s): Linux, Windows, FreeBSD, Mac OSX, Sun Solaris
Date: Oct, 19 2006 Author: Shailesh Humbad, http://www.somacon.com/p355.php {
License}
{
Ratings}Number of Ratings: 1 Votes
Visitor Voting Booth:
{
Others Scripts}
|