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

  1. Paste the three sample lines, with one item on each line.
  2. Choose a comma for the separator and join the lines.
  3. Check the item order and count two commas in the single output line.

Worked example

Input

alpha
beta
gamma

Expected result

alpha,beta,gamma

Check the result

The delimiter belongs between items, so the example needs no comma after the third item.

Continue with another guide

Cookie
We care about your data and would love to use cookies to improve your experience.

Learn how we use cookies