<cfset myList1 = "apple,banana,orange">
<cfset myList2 = "bird,fish,mammal">
<cfset CombiArr = ArrayNew(2)>
<cfloop from="1" to="#ListLen(mylist1)#" index="i">
<cfset CombiArr[i][1]= ListGetAt(myList1,i,",")>
<cfset CombiArr[i][2]= ListGetAt(myList2,i,",")>
</cfloop>
<cfdump var="#CombiArr#">
--
Birgit
------------------------------
Wednesday, October 1, 2003, 10:38:29 AM, you wrote:
DA> I have two lists and I want to combine them into a single two dimensional array, how do I
DA> do it??
DA> Here are my two lists..
DA> <cfset myList1 = "apple,banana,orange">
DA> <cfset myList2 = "bird,fish,mammal">
DA
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

