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

RSS Icon Subscribe to comments

You need to login to post a comment.