Question
2D Array question
Hi,
I have two arrays, call them arrOne and arrTwo
How can I put arrTwo inside of the first position in arrOne
So say I have values like this in arrOne:
<cfset arrOne = ArrayNew(1)>
<cfset arrOne[1] = "John">
<cfset arrOne[2] = "Paul">
<cfset arrTwo = ArrayNew(1)>
<cfset arrTwo[1] = "Fruit">
<cfset arrTwo[2] = "Meat">
I want to put arrTwo inside of arrOne in the first position. I tried using ArrayInsertAt, but it overwrote the
first position which is not what I want. The insert shouldn't overwite John's name. It should appear nested under it
I'm trying to somehow get arrTwo into arrOne[1][1]... something like that...
Any help appreciated...
-ws
