The following was brought to my attention and I really don't know what to say.

Has anyone ever seen this or have a good/bad/humourus explanation?

>





 I'm sorry - I am totally baffled by this.��Can someone please explain to me 
why this is happening?��Create a page that contains the following code:

<HTML>
<BODY>
����<CFIF "1,2" IS "1,2,3">
��������Test passed
����<CFELSE>
��������Test failed��������
����</CFIF>

����<CFIF "1,2,3" IS "1,2">
��������Test passed
����<CFELSE>
��������Test failed��������
����</CFIF>

����<CFIF "0,1" IS "0,1,2">
��������Test passed
����<CFELSE>
��������Test failed��������
����</CFIF>

����<CFIF "2,3" IS "2,3,4">
��������Test passed
����<CFELSE>
��������Test failed��������
����</CFIF>

����<CFIF "x,y" IS "x,y,z">
��������Test passed
����<CFELSE>
��������Test failed��������
����</CFIF>
</BODY>
</HTML>



Now, run it.��The results I get on my CF5 server (I have tried this on 
multiple installations) are:

Test passed
Test passed
Test failed 
Test failed 
Test failed 

I must be missing something here since the string "1,2,3" is obviously not 
the same as "1,2".��Can someone PLEASE point out my stupid mistake?��Would 
someone be so kind as to try it out on their installation of CF5? 

>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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

Reply via email to