• (split s re)
  • (split s re limit)
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/str_utils2.clj:356 top

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

Comments top

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