Logo

Programming-Idioms

History of Idiom 53 > diff from v14 to v15

Edit summary for version 15 by :

Version 14

2015-09-03, 21:13:57

Version 15

2015-09-09, 08:37:56

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