Selecting Values from different arrays

Let's pretend I have two arrays.

0: Array[4]
0: "STNAME"
1: "POP"
2: "DATE"
3: "state"
length: 4

and

2: Array[4]
0: "Alabama"
1: "4833722"
2: "6"
3: "01"

I want to select the the 3rd value in the 2nd array. Nothing that I am doing seems to be working . . . what is a good approach for doing this?

Upvotes: 2

Views: 51

Answers (1)

L.A.
L.A.

Reputation: 147

you should be use array[2][2] and not array[2].[2].

Upvotes: 3

Related Questions