Skip to content

Join Array

What It Does

Combines all items in a list into a single text string, with a specified character or string between each item. This is useful for creating comma-separated lists, space-separated words, or any delimited text.

Inputs

NameDescriptionTypeRequired
arrayThe list of items to join togetherListYes
delimiterThe character or string to insert between itemsStringNo

Outputs

NameDescriptionType
valueThe combined text string with delimitersString

How to Use It

  1. Drag the Join Array node into your graph.
  2. Connect a list (like ["red", "green", "blue"]) to the "array" input.
  3. Set the "delimiter" to the character you want between items (like ", ").
  4. Run the graph—your output will be a single string with the items joined ("red, green, blue").

Tips

  • The default delimiter is a hyphen (-), but you can use any string, including spaces, commas, or even multi-character strings.
  • Non-string items in the array will be converted to strings automatically.

See Also

  • Split String: For the reverse operation—breaking a string into an array of parts.

Use Cases

  • CSV Generation: Create comma-separated values for data export.
  • UI Display: Format lists of items for display in a user interface.