• (repeat s n)
Returns a new String containing s repeated n times.

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

(defn ^String repeat
  "Returns a new String containing s repeated n times."
  [^String s n]
  (apply str (clojure.core/repeat n s)))
Vars in clojure.contrib.str-utils2/repeat: apply defn repeat str
Used in 0 other vars

Comments top

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