🔍

Dyadic .o.cut

Cuts a list or vector into pieces of the specified size.

Syntax: <size> .o.cut <v>; .o.cut[<size>; <v>]

o).o.cut[3; til 14]
0 1 2
3 4 5
6 7 8
9 10 11
12 13
o).o.cut[,3;!14]
0 1 2 3 4
5 6 7 8 9
10 11 12 13
o)