JavaScript : Others : Javascript Trim LTrim and RTrim Functions Script



Script: Javascript Trim LTrim and RTrim Functions Script

Script Demo: Javascript Trim LTrim and RTrim Functions Script Demo

Description: 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.

Author: Shailesh Humbad

Version:

Price: Free

Supported Systems:

Screenshot Link: Javascript Trim LTrim and RTrim Functions Script Screenshot

Last Updated: 2006-10-20

Rating:
Rate Javascript Trim LTrim and RTrim Functions Script
Please honestly rate the script: Javascript Trim LTrim and RTrim Functions Script
Repeated votes and cheating the rating is not allowed and will result in a permanent 0 rating for this script.