Vocabulary
splitting.extras

Inputs
seqa sequence
separatorsa sequence


Outputs
piecesa new array


Word description
A variant of split that includes the elements along which the sequence was split.

Examples
USING: prettyprint splitting.extras ; "hello world-how are you?" " -" split* .
{ "hello" " " "world" "-" "how" " " "are" " " "you?" }


See also
split*-slice

Definition