Split string by whitespace


/ Published in: Clojure
Save to your folder(s)

Function splits string by whitespace.


Copy this code and paste it in your HTML
  1. (defn split-by-whitespace [s]
  2. (clojure.string/split s #"\s+"))

Report this snippet


Comments


You need to login to view comments.