How to get particular elements of array

Hello,

 

I have a array of integer [1,2,3,4,5,6,7,8,9,10,11] is there any function which will give me elements of array if I pass index.

or what's the way to get batches of array in particular set.

e.g. [123],[456],[789],[10,11]

 

thanks,

Tushar

  Discussion posts and replies are publicly visible