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