Logo

Programming-Idioms

History of Idiom 53 > diff from v3 to v4

Edit summary for version 4 by :

Version 3

2015-08-01, 17:17:07

Version 4

2015-08-19, 17:07:38

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
let y = x.connect(", ");
Comments bubble
Recently, `connect()` has been renamed to `join()`.
Demo URL
http://is.gd/8wi2NW