Randy Webb wrote:
Shailesh Humbad said the following on 10/19/2006 3:08 AM:
>I compiled this article on trim functions for javascript:
Javascript Trim LTrim and RTrim Functions
http://www.somacon.com/p355.php
If you have any comments, please let me know.
Read the group FAQ, that is already covered. And quite well tested at
that. Why re-invent the wheel?
Because if you search in Google for "javascript trim", the first five
results are junky. The group FAQ shows up on page five of the results.
The FAQ is not search engine optimized. Second, I updated the
backward-compatible functions to trim actual whitespace. Third, I put a
form where you can test the functions. To invent a better wheel? :)