Posted By

ef on 01/24/12


Tagged

whitespace split


Versions (?)

Split string by whitespace


 / Published in: Clojure
 

Function splits string by whitespace.

  1. (defn split-by-whitespace [s]
  2. (clojure.string/split s #"\s+"))

Report this snippet  

You need to login to post a comment.