Logo

Programming-Idioms

History of Idiom 53 > diff from v35 to v36

Edit summary for version 36 by :
Restored version 34

Version 35

2016-02-18, 16:58:00

Version 36

2016-02-18, 17:24:23

Idiom #53 Join a list of strings

Concatenate elements of string list x joined by the separator ", " to create a single string y.

Idiom #53 Join a list of strings

Concatenate elements of string list x joined by the separator ", " to create a single string y.

Code
(clojure.string/join "," '("abc" "def" "ghi") )
Code
val y = x.mkString(",")
Code
val y = x.mkString(",")