Wonderful. Thanks so much.
-----Original Message-----
From: Imar Spaanjaars [mailto:Imar@S...]
Sent: Thursday, April 12, 2001 2:19 PM
To: javascript
Subject: [javascript] Re: Trim
Hi Rita,
Nope, not natively. However, at the following addresses you'll find
functions that perform these tasks:
http://www.4guysfromrolla.com/webtech/code/LTrim.shtml
http://www.4guysfromrolla.com/webtech/code/RTrim.shtml
http://www.4guysfromrolla.com/webtech/code/Trim.shtml
Hope this helps,
Imar
At 10:05 PM 4/12/2001 +0000, you wrote:
>Hi.
>
>Is there a JavaScript method similar to LTrim and RTrim?
>
>I need to remove leading and trailing spaces in a string.
>
>TIA.
>
>Rita