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 क्लाइंट से उपयोग करें