Split function

Splitting a list (line)


Description

The split function splits a list (row) into several segments and merges them into a table.

The first argument is the existing list. The second argument determines the length of the segments or rows in the new table.


Syntax

Split (list, length)

Examples

a=[3,5,6,2,3,4]
Split(a,3)= 3 5 6
2 3 4