First off,trim your var in the if statement and then change the "IS" to "eq". I have 
had this problem before and by always trimming my vars and using eq instead of is, I 
have had far less problems like this.

HTH
Clint

---------- Original Message ----------------------------------
from: Brian Scandale <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
date: Wed, 26 Jun 2002 00:49:35 -0700

Why doesn't this <cfif> statement catch the "]" character?

Or a better question is How do i branch on that character... chr(93) doesn't work 
either.

<cfset temp = "]"

<cfoutput><br>temp = #temp#<br></cfoutput>

<cfif temp IS "]">
    <cfoutput><br>temp = #temp#<br></cfoutput> Yep It Works!
</cfif>


______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to