<cfloop from="1" to="#Evaluate(ListLen(list) - 1)#" step="2" index="i">
#ListGetAt(list, i)# / #ListGetAt(list, i + 1)#
</cfloop>

That should do it.

At 07:15 PM 5/20/2002 -0500, you wrote:
>Hi,
>
>   I am looking for a List. is there any possibility of outputting the list
>like:
>   1 2
>   3 4
>   5 6
>
>When the list has "1,2,3,4,5,6" as its contents.

______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to