Split
Examples
open allclose allBasic Examples (1)Summary of the most common use cases
Scope (6)Survey of the scope of standard use cases
Split into runs of identical values:

https://wolfram.com/xid/0gipg0-g8zysz


https://wolfram.com/xid/0gipg0-t5n4nh

Split in increasing runs of elements:

https://wolfram.com/xid/0gipg0-4dt2e9


https://wolfram.com/xid/0gipg0-50suf0

Split based on first elements:

https://wolfram.com/xid/0gipg0-6z9m64


https://wolfram.com/xid/0gipg0-bzqduo

Split so that in each sublist, successive elements are not the same:

https://wolfram.com/xid/0gipg0-qxfpi0

Split after every occurrence of a:

https://wolfram.com/xid/0gipg0-8lao0z

Split before every occurrence of a:

https://wolfram.com/xid/0gipg0-chg5l7

Applications (5)Sample problems that can be solved with this function
Group together identical elements:

https://wolfram.com/xid/0gipg0-ul5


https://wolfram.com/xid/0gipg0-8ddli

Only split when there is a change from negative to positive sign (rising edge):

https://wolfram.com/xid/0gipg0-fs4wb9

Only split when there is a change from positive to negative sign (falling edge):

https://wolfram.com/xid/0gipg0-wmxv1


https://wolfram.com/xid/0gipg0-mht

Group equivalence classes according to an equivalence function:

https://wolfram.com/xid/0gipg0-k6rth2

https://wolfram.com/xid/0gipg0-b64pt5

Distribution of lengths of runs of 0s or 1s in the first million bits of :

https://wolfram.com/xid/0gipg0-cdu9jt


https://wolfram.com/xid/0gipg0-fgbx6c

Distribution of lengths of runs of 0s or 1s in one million pseudorandom bits:

https://wolfram.com/xid/0gipg0-8clly

Properties & Relations (1)Properties of the function, and connections to other functions
Neat Examples (3)Surprising or curious use cases
Find runs of numbers in base 10 that contain the same number of 1s:

https://wolfram.com/xid/0gipg0-o47

Iterated run-length encoding [more info]:

https://wolfram.com/xid/0gipg0-bwd

Define terms of the look and say sequence [more info]:

https://wolfram.com/xid/0gipg0-tu83yz
Compute the first five terms of the look and say sequence starting with 1:

https://wolfram.com/xid/0gipg0-jsowaf


https://wolfram.com/xid/0gipg0-0ydpzg

Wolfram Research (1996), Split, Wolfram Language function, https://reference.wolfram.com/language/ref/Split.html.
Text
Wolfram Research (1996), Split, Wolfram Language function, https://reference.wolfram.com/language/ref/Split.html.
Wolfram Research (1996), Split, Wolfram Language function, https://reference.wolfram.com/language/ref/Split.html.
CMS
Wolfram Language. 1996. "Split." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Split.html.
Wolfram Language. 1996. "Split." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Split.html.
APA
Wolfram Language. (1996). Split. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Split.html
Wolfram Language. (1996). Split. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Split.html
BibTeX
@misc{reference.wolfram_2025_split, author="Wolfram Research", title="{Split}", year="1996", howpublished="\url{https://reference.wolfram.com/language/ref/Split.html}", note=[Accessed: 25-April-2025
]}
BibLaTeX
@online{reference.wolfram_2025_split, organization={Wolfram Research}, title={Split}, year={1996}, url={https://reference.wolfram.com/language/ref/Split.html}, note=[Accessed: 25-April-2025
]}