doubling up on the # signs works for me.

<cfsavecontent variable="mystring">
        we are #1!
</cfsavecontent>

<cfoutput>
        #myString#
        <br />
        #replace(mystring, "##", "", "all")#
</cfoutput>

On 6/5/07, Dave Hatz <[EMAIL PROTECTED]> 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
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 by AdobeĀ®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

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