I am trying to strip out a # (pound) from a string. I would have thought this would have worked:
<cfset foo = replace(bar, "#", "", "all") /> That didn't work, as it thought it was a var (missing an argument). I tried to escape it: <cfset foo = replace(bar, "##", "", "all") /> But that didn't seem to work (i think it is looking for ## at that point). Any suggestions? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:260132 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4