How to extract value from an array of array

前端 未结 6 1017
旧巷少年郎
旧巷少年郎 2021-01-29 03:32

I have an array of array stored. I need to extract the particular value from this arrays.

e.g allarray contain the list of arrays allarray= [Array[3],Array[3],Array[3]]

6条回答
  •  旧巷少年郎
    2021-01-29 03:37

    You can access it by running

    allarray[X][2]
    

    where X is 0, 1, or 2 depending on which of the 3 arrays you want

提交回复
热议问题