Question on converting array into sub-arrays

Given an array
{"a","b","c","d","e","f", "g","h","i"}

Is there a way to convert it to an equal size sub-arrays as follows (say by specifying 3 in this case):
{{"a","b","c"}, {"d","e","f"}, {"g","h","i"}}

OriginalPostID-227719

OriginalPostID-227719

  Discussion posts and replies are publicly visible

Parents
  • Sorry for a few typos, few notes:

    rule!chris_pivotGetIndex_helper(num, separation, count)

    should be:

    rule!chris_pivotGetIndex_helper(num, separation, index)

    rule!chris_pivotGetItems(array,index)

    should be:

    rule!chris_pivotGetItems(array,indexes)

    Ensure in the last one above, array is multiple and indexes is not (single valued string). If the rest of the parameter types match from my initial post, you should be seeing data..
Reply
  • Sorry for a few typos, few notes:

    rule!chris_pivotGetIndex_helper(num, separation, count)

    should be:

    rule!chris_pivotGetIndex_helper(num, separation, index)

    rule!chris_pivotGetItems(array,index)

    should be:

    rule!chris_pivotGetItems(array,indexes)

    Ensure in the last one above, array is multiple and indexes is not (single valued string). If the rest of the parameter types match from my initial post, you should be seeing data..
Children
No Data