Question

How to get the 1st array in an array of array ?

  • 1 August 2020
  • 1 reply
  • 14 views

Hi all,

I encountered that proble that I would like to get the 1st array in an array of array.

[1,2,3], [4,5,6], [7,8,9]

And I only want to pick the 1st set, [1,2,3].

I tried for a long time, but it will turn to 1,2,3,4,5,6,7,8,9 and output 1 only.

Could you help to provide some helps? Thanks


1 reply

Userlevel 7
Badge +8

Hi @BabyBossJack!

There’s a similar posts here, where someone was trying to work with nested arrays:

Can you check that out to see if it gets you closer to what you need?

Reply