How can i compare two values?
You can compare values in several ways in which the first example is the preferred method.
<cfif not compareNoCase(var,"value")>
equal
<cfelse>
not equal
</cfif>
or
<cfif var eq "value">
equal
<cfelse>
not equal
</cfif>
or case-sensitive
<cfif not compare(var,"value")>
equal
<cfelse>
not equal
</cfif>
5133 viewed | Your opinion... | del.icio.us | Digg it | Tjarko @ 15/11/02 12:09 cet



