#336
Separation of char and string
 

Difficulty:Elementary
Topics:String


Mission: Bikin function untuk split string berdasarkan karakter pemisah dan return a vector of strings. Argumen kedua bentuknya itu regex.
test not run
(= (__ "hello world" #" ") ["hello" "world"])
test not run
(= (__ "clojure,scala,haskell" #",") ["clojure" "scala" "haskell"])
test not run
(= (__ "one-two-three" #"-") ["one" "two" "three"])


Code which fills in the blank: