• (split re s)
  • (split re limit s)
Splits string on a regular expression. Optional argument limit is
the maximum number of splits.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/contrib/string.clj:359 top

(defn split
  "Splits string on a regular expression.  Optional argument limit is
  the maximum number of splits."
  {:deprecated "1.2"}
  ([^Pattern re ^String s] (seq (.split re s)))
  ([^Pattern re limit ^String s] (seq (.split re s limit))))
Vars in clojure.contrib.string/split: defn seq
Used in 0 other vars

Comments top

No comments for split. Log in to add a comment.