Logo

Programming-Idioms

History of Idiom 53 > diff from v5 to v6

Edit summary for version 6 by :

Version 5

2015-08-20, 15:01:35

Version 6

2015-08-21, 20:35:25

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
y = x.join(', ');
Demo URL
https://dartpad.dartlang.org/55ddab1b84333fd5b56a