Logo

Programming-Idioms

History of Idiom 53 > diff from v15 to v16

Edit summary for version 16 by :

Version 15

2015-09-09, 08:37:56

Version 16

2015-09-09, 08:38:04

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
Note that_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