cut

From The K Language Wiki
Revision as of 10:25, 17 July 2021 by Razetime (talk | contribs) (add cut primitive page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Cut
x_y

The cut primitive partitions the array y before the indices given in array x.

The portion of the array before the first index is ignored.

 0 4_"feedface"
("feed";"face")
 3 5_"adfdsfsdfa"
("ds"
 "fsdfa")