Logo

Programming-Idioms

History of Idiom 53 > diff from v26 to v27

Edit summary for version 27 by :
New Lisp implementation by user [anekos]

Version 26

2016-01-03, 06:34:17

Version 27

2016-01-03, 06:40:39

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
(defvar y (format nil "~{~A~^, ~}" x))
Demo URL
https://ideone.com/9stsOT