← All nodes
Unstructured Text

List to Comma Separated

Join the lines of a list into one line, separated by commas or any separator you choose.

When to use it

Typical uses: Building SQL IN (…) clauses; Pasting spreadsheet columns into tag or keyword fields; Creating arrays for code.

In a pipeline

Settings

SettingTypeRequiredDefault or hint
Text columnselect—Text
Separatortext—,
Wrap each item in double quotes (CSV style)checkbox—false
Generate New Columncheckbox—false
New Column Nametext—Default: <column> Result
Insert Afterselect—After the column
When a value cannot be convertedselect—stop

Example

List to Comma Separated: an example

  • Wrap each item in double quotes (CSV style)=Ticked
Text arriving
Text
London Paris New York Tokyo
The text after this node
Text
"London", "Paris", "New York", "Tokyo"

Worth knowing

  • Can I use a separator other than a comma? Yes. Type any separator, such as “; ”, “ | ” or a single space.
  • Are empty lines included? No. Blank lines are skipped.
  • How do I convert back? Use Comma Separated to List.
  • Works on any text column, not only Text Input's: pick it under Text column. Tick Generate New Column to keep the original next to the result.

Others in Unstructured Text