That did the trick....thanks for all the help guys.....

Dave 

-----Original Message-----
From: Mik Muller [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 05, 2007 11:08 AM
To: CF-Talk
Subject: Re: How to escape the character # in a string

newVar=Replace(var,chr(35)," ","ALL");

or

newVar=Replace(var,chr(35),chr(32),"ALL");


At 01:46 PM 6/5/2007, you wrote:
>I am trying to do the following,
>
>newVar=Replace(var,"#"," ","ALL");
>
>but the "#" is throwing errors.  I have tried "##" and it runs, but will
not replace the # in my strings.  Any suggestions?
>
>Thanks,
>Dave Hatz
>
>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280148
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to