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
- Split on a space to get words: split(sentence, " ")