• (split-lines s)
Splits s on \n or \r\n.

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:307 top

(defn split-lines
  "Splits s on \\n or \\r\\n."
  [^String s]
  (seq (.split #"\r?\n" s)))
Vars in clojure.contrib.str-utils2/split-lines: defn seq
Used in 0 other vars

Comments top

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