RE: Removing spaces from a string?
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:jsp2...@hotmail.com] 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, cf-t...@sdsolutions.de 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
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, cf-t...@sdsolutions.de 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:318501 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Removing spaces from a string?
trim() Uwe RM Hello RM How do you remove spaces from a string? RM Ryan RM ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
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: trim() Uwe RM Hello RM How do you remove spaces from a string? RM Ryan RM ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4