Design Script syntax for getting a nested list from each parent list


#1

I have a list of 14 items. The 6th item is a nested list of 9 items. I want to extract the list of 9 items for each of the 14 items in the parent without having to write a line for each x[0]…x[13]. The image shows extracting the nested list from the first item, but I can’t figure out the design script syntax for iterating through the list of 14. I tried x[0…13][5][0…8], but got strange results.

2015-04-02_1711


#2

List.Map with Get Item at Index [5] as the function should do the trick.


#3

Regards,

Vikram Subbaiah


#4

Thanks Ben and Vikram!