> <cfset foo =  replace(bar, Chr(35), "", "all">

Yeah...that's what someone else suggested, but it didn't work...and I
found (in the past sometime) that to make replacements using the Chr
references that I had to put quotes and #'s around the Chr(35) to get
it to work.

I've don't it like that a long time and it may not be really necessary, but
it became the habit.  I'll have to check it out again with the "s and #'s.



Thought I'd venture out of always asking questions to possibly try to
offer an answer to someone.

I'm not sure what the final solution was, however...

Rick

-----Original Message-----
From: Claude Schneegans [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 13, 2006 9:57 AM
To: CF-Talk
Subject: Re: How to strip a #

 >>how about this...
 >><cfset foo =  replace(bar, "#Chr(35)#", "", "all"/>

Or even more simply:
<cfset foo =  replace(bar, Chr(35), "", "all">





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260185
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