Dave Hatz 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?
>   
Maybe use the ASCII code, (35 for the pound sign, I believe)?

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



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion 8 beta – Build next generation applications today.
Free beta download on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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