Comma Separator
Turn a list on separate lines into a single line with a chosen separator.
Turn a list on separate lines into a single line with a chosen separator.
How to use
- Paste the three sample lines, with one item on each line.
- Choose a comma for the separator and join the lines.
- Check the item order and count two commas in the single output line.
Worked example
Input
alpha
beta
gammaExpected result
alpha,beta,gammaCheck the result
The delimiter belongs between items, so the example needs no comma after the third item.