• (replace-str a b s)
Replaces all instances of substring a with b in s.

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

(defn replace-str
  "Replaces all instances of substring a with b in s."
  {:deprecated "1.2"}
  [^String a ^String b ^String s]
  (.replace s a b))
Vars in clojure.contrib.string/replace-str: defn
Used in 0 other vars

Comments top

No comments for replace-str. Log in to add a comment.