Hi
I am looking for something opposite to the function of append.I want to break a very big list into smaller lists of elements.For example say i have 103 elements in a list and i want to break the list into sublists such that each list consists of 20 elements.I should get an output in return with 5 sublists of 20 elements each and a 6th sublist of 3 elements.Is there any direct function available for use?
I am looking for something opposite to the function of append.I want to break a very big list into smaller lists of elements.For example say i have 103 elements in a list and i want to break the list into sublists such that each list consists of 20 elements.I should get an output in return with 5 sublists of 20 elements each and a 6th sublist of 3 elements.Is there any direct function available for use?