Macromedia coldfusion 4.5-cfml language reference User Manual
Chapter 2: ColdFusion Functions
411
<P>
However, if you specify the entire string <B>two</B>, both ListContains
and ListFind will find it in the second item in the list.
<BR>ListContains<BR>
<CFOUTPUT>
The string "two" is in <b>Item #ListContains(aList, "two")#</b> of the
list.
</CFOUTPUT>
<BR>ListFind<BR>
<CFOUTPUT>
The string "two" is in <b>Item #ListFind(aList, "two")#</b> of the list.
</CFOUTPUT>
</BODY>
</HTML>
However, if you specify the entire string <B>two</B>, both ListContains
and ListFind will find it in the second item in the list.
<BR>ListContains<BR>
<CFOUTPUT>
The string "two" is in <b>Item #ListContains(aList, "two")#</b> of the
list.
</CFOUTPUT>
<BR>ListFind<BR>
<CFOUTPUT>
The string "two" is in <b>Item #ListFind(aList, "two")#</b> of the list.
</CFOUTPUT>
</BODY>
</HTML>