Redirected from the CF-Community list. Please do not post tech questions to
community list.

<CFIF CompareNoCase(browser, standard)>
different
<CFELSE>
same
</CFIF>
The compare() and comparenocase() functions return 0 if the two strings are
the same and a different value if different. This is the fastest syntax to
use.
maybe this article will help some:
http://www.fusionauthority.com/alert/index.cfm?alertid=4#Tech2

> How do I compare the text contents of two variables?  I want to say
>
> (did two CF sets to give values to variables named Browser and Standard)
>
> <CFIF Browser EQ Standard>
> Go to page A
> <CFELSE>
> Go to page B
> </CFIF>
>
> I'm guessing I want to use Compare (Browser, Standard).  But how so I
write
> the syntax and where do I do the test?
>
> Thank you!
> :-)
> Oriole at MarkSport.com
> --------------------------------------------------------------------------
----
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_community
or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.
>

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to