1.2.0 permalink Arrow_down_16x16
  • (str-join separator sequence)
Returns a string of all elements in 'sequence', separated by
'separator'. Like Perl's 'join'.

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_utils.clj:87 top

(defn str-join
  "Returns a string of all elements in 'sequence', separated by
  'separator'.  Like Perl's 'join'."
  [separator sequence]
  (apply str (interpose separator sequence)))
Vars in clojure.contrib.str-utils/str-join: apply defn interpose sequence str
Used in 0 other vars

Comments top

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