Strings In Depth10 / 19
Up next

Split

csv = "a,b,c"
# split on a separator
p csv.split(",")
# no argument splits on runs of whitespace
p "one  two three".split
What you're solving

text into an array of pieces