From: Paolo Bacchilega Date: 2006-07-20T15:55:10+09:00 Subject: how to split an array in sub arrays of the same length Hi, Is there a way to split an array in sub arrays of the same length, that is : [ 1, 2, 3, 4, 5, 6, 7, 8 ].unknown_function(3) that returns: [ [1, 2, 3], [4, 5, 6], [7, 8] ] thanks in advance.