Qurak

Split

Available

Splits list at boundaries where consecutive elements differ.

Split[list]
Split[list, test]
Split[{1, 1, 2, 2, 3}] → {{1, 1}, {2, 2}, {3}}Split[{a, a, b, c, c, c}] → {{a, a}, {b}, {c, c, c}}

Used in

Topics

Related

All 6300 functions · Use this from an MCP client