I have an array in this format:
meuArray = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ...];
I would like to turn it into a multidimensional array with javascript / jquery leaving it like this:
meuArray = [
[0] => ["0", "1", "2", "3", "4"];
[1] => ["5", "6", "7", "8", "9"];
...
]
The number of keys per array will vary, but for ease of response, we can always consider 5 keys per array.