Qurak

Split

Доступно

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}}

Використовується в

Теми

Пов'язане

Усі 6300 функцій · Використати з MCP-клієнта