Trim() removes all white space, front and back. So you'll need to do many
replaces or use REReplace to get at the tabs, carriage returns and linefeeds
too.

Adrian

> -----Original Message-----
> From: Joel Polsky [mailto:[email protected]]
> Sent: 25 January 2009 22:49
> To: cf-talk
> Subject: Re: Removing spaces from a string?
> 
> >Trim will only remove leading and trailing spaces.
> >
> >If you want to remove all spaces,
> >
> >Replace(StringVar, " ", "", all)
> >
> >Rob
> >At 08:59 PM 6/28/2003 +0200, [email protected] wrote:
> >>
> 
> This is correct: (and a little old to reply, but wanted to have it
> correct for future people who read this..
> 
> Replace(StringVar, " ", "", "all")
> Need quotes around ALL


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318530
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to