CMC logo Cave Man Code

split

Text

Chop text into a pile of pieces.

How to write it

split(<text>, <separator>)

What it does

split(text, ",") cuts text wherever the separator is and gives back a pile of the pieces.

Example

grunk words = split("rock,paper,scissors", ",")
oga words
oga nom(words)

Tips

See also

join · snorf · nom

Back to all words