<HTML>
<HEAD>
   <TITLE>List Example</TITLE>
</HEAD>

<BODY>

<CFSET fruit="apple,banana,cherry,grape,mango,orange">
<CFOUTPUT>
Complete list: #fruit#<BR>
Number of fruit in list: #ListLen(fruit)#<BR>
First fruit: #ListFirst(fruit)#<BR>
Last fruit: #ListLast(fruit)#<BR>
<CFSET fruit=ListAppend(fruit, "pineapple")>
Complete list: #fruit#<BR>
Number of fruit in list: #ListLen(fruit)#<BR>
First fruit: #ListFirst(fruit)#<BR>
Last fruit: #ListLast(fruit)#<BR>
</CFOUTPUT>

</BODY>
</HTML>

