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

Data field based functions

ClrRect Deletes a rectangular area
Clip Limits values of a data field
Count Returns number of elements
Diff Difference values of elements
Dim Number of dimensions of tables
Flat Joins rows of a table
GetAt Value of a specified position
GetRect Returns the specified area
Insert Inserts new elements
Join Join fields together
New Generates a new list
Pick Get selected items from a list
Remove Removes items from a list
Reverse Inverts the order in a list
Scale Converts values to a new scale
SetAt Sets a value at a position
Split Splits a list into sublists
Sum Returns the sum of all elements
Text Generates a text list
Trim Removes invalid values