Try ListFind

At 2:47 PM -0500 11/30/00, Park, Simon wrote:
>Why does the following always return TRUE?
>
><CFSET FooList = "6,7,8,9,10">
><CFIF ListContains(VARIABLES.FooList, "1")>
>TRUE
><CFELSE>
>FALSE
></CFIF>
>
>Do I need to put the values into an array?
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to