Just tried it, and nope, it didn't work ...

Thanks for trying though...

Paul Giesenhagen
QuillDesign

----- Original Message -----
From: "Pablo Varando" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, February 17, 2003 11:53 PM
Subject: Re: Replacing the #


> Try this:
>
> <cfset thisItem = ReplaceNoCase(thisItem, chr(35), "", "ALL")>
>
> That should work...
>
> Pablo
> ----- Original Message -----
> From: "Paul Giesenhagen" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Monday, February 17, 2003 10:45 PM
> Subject: Replacing the #
>
>
> > I am trying to check a variable to make sure it doesn't have a # sign in
> the variable and if it does, I want to remove it.  Here is what I have,
but
> it errors out with 1 (makes sense), but it doesn't replace if I have two!
> Any suggestions?
> >
> > <cfset thisItem = ReplaceNoCase(thisItem, "#", "", "ALL")> <!--- Errors
> out --->
> >
> > <cfset thisItem = ReplaceNoCase(thisItem, "##", "", "ALL")> <!---
Doesn't
> replace --->
> >
> > Thanks
> > Paul Giesenhagen
> > QuillDesign
> >
> >
> >
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to