/ Published in: Clojure
Function splits string by whitespace.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
(defn split-by-whitespace [s] (clojure.string/split s #"\s+"))