Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Community Discussions (All other subjects)
 How to trim() in javascript?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

GoodMorningSky
Junior Member

122 Posts

Posted - 11 March 2005 :  13:12:19  Show Profile
How come javascript string object doesn't have trim method..?
how you implement trim?

Software Engineer.
MCSD.NET, SCWCD

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 11 March 2005 :  13:25:48  Show Profile
There is no trim function in javascript. You have to make your own function to get rid of the spaces. Or you can use the function provided by some of the sites listed below:

http://www.redantigua.com/js-trim.html
http://www.experts-exchange.com/Web/Web_Languages/JavaScript/Q_20959311.html
http://www.apriori-it.co.uk/Trim.asp
http://www.breakingpar.com/bkp/home.nsf/0/87256B14007C5C6A87256AFB0013C722

Support Snitz Forums
Go to Top of Page

GoodMorningSky
Junior Member

122 Posts

Posted - 11 March 2005 :  13:57:38  Show Profile
Thank you! I got it!

Software Engineer.
MCSD.NET, SCWCD
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.31 seconds. Powered By: Snitz Forums 2000 Version 3.4.07