PRODUCTS
PURCHASE
FOR USERS
COMPANY
OUR SITES
DOCUMENTATION CENTER SEARCH
Mathematica
>
Rearranging & Restructuring Lists
>
Built-in
Mathematica
Symbol
Partitioning and Padding Lists
Tutorials »
|
Partition
StringSplit
FindClusters
Union
Flatten
ReplaceList
Tally
BinLists
See Also »
|
Discrete & Integer Data
List Manipulation
Rearranging & Restructuring Lists
More About »
Split
Split
[
list
]
splits
list
into sublists consisting of runs of identical elements.
Split
[
list
,
test
]
treats pairs of adjacent elements as identical whenever applying the function
test
to them yields
True
.
MORE INFORMATION
The default function used to test whether elements are identical is
SameQ
.
Split
can be used to perform run-length encoding.
»
EXAMPLES
CLOSE ALL
Basic Examples
(1)
In[1]:=
Out[1]=
Generalizations & Extensions
(4)
Applications
(4)
Properties & Relations
(1)
Neat Examples
(2)
SEE ALSO
Partition
StringSplit
FindClusters
Union
Flatten
ReplaceList
Tally
BinLists
TUTORIALS
Partitioning and Padding Lists
MORE ABOUT
Discrete & Integer Data
List Manipulation
Rearranging & Restructuring Lists
RELATED LINKS
NKS|Online
(
A New Kind of Science
)
New in 3
© 2008 Wolfram Research, Inc.