#337
Separation of char and string (satanic level)
Difficulty: | Medium |
Topics: | String |
Mission: Bikin function untuk split string berdasarkan karakter pemisah dan return a vector of strings.
(= (__ "hello world" " ") ["hello" "world"]) | |
(= (__ "clojure,scala,haskell" ",") ["clojure" "scala" "haskell"]) | |
(= (__ "one-two-three" "-") ["one" "two" "three"]) |