473,408 Members | 2,832 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Javascript Trim Ltrim and RTrim Functions

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.

Thanks,
Shailesh
Oct 19 '06 #1
3 4040
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?

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Oct 19 '06 #2
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? :)
Oct 19 '06 #3
Don't sweat Randy. Look at his other posts to other people.

He's good at being critical and appointing himself the USENET Police - but
damned short on actual help.
"Shailesh Humbad" <hu*****@nowhere.invalidwrote in message
news:2M*******************@tornado.ohiordc.rr.com. ..
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? :)

Oct 23 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.