Logo

Programming-Idioms

History of Idiom 53 > diff from v4 to v5

Edit summary for version 5 by :

Version 4

2015-08-19, 17:07:38

Version 5

2015-08-20, 15:01:35

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.

Imports
import std.array;
Code
string y = x.join(", ");