user=> (split-at 2 [1 2 3 4 5]) [(1 2) (3 4 5)]
Returns a vector of [(take-while pred coll) (drop-while pred coll)]
Splits string on a regular expression. Optional argument limit is
(defn split-at "Returns a vector of [(take n coll) (drop n coll)]" {:added "1.0"} [n coll] [(take n coll) (drop n coll)])
Comments top
No comments for split-at. Log in to add a comment.