public
Created

  • Download Gist
gistfile1.clj
Clojure
1 2 3 4 5 6 7 8 9 10
((fn splits [s delims]
(reduce (fn [pieces delim]
(clojure.walk/postwalk (fn [s]
(if (string? s)
(clojure.string/split s delim)
s))
pieces))
s
delims))
"123,45:6,78:9" [#"," #":"])

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.