Split an array in to specific number of chunks

Hi Team,

I have an array {“0000000”,“11123211”,…up to 720}

Now i want to make another arrays which contains as below :
arr1 = {first…120}
arr2 = {second…120}
arr3={third…120}
arr4 = {fourth…120}
arr5 = {fifth…120}
arr6 = {sixth…120}

Any suggestions would be appreciated.

Thanks,
Satish

Hi,

How about Chunk method as the following?

arrArrStr = arrStr.Chunk(120).ToArray

Regards,

3 Likes