divide a list with unknown number of elements
<p>Let's say I have a list of unknown number of elements in string value, I want to divide it to n subarray or lists (n could be any int, for example n=3), what is best way to do it?</p>

<p>note: the number of elements in each group is not necessary to be equal</p>
