Skip to content

String Join From Array

Joins an array of strings into a single string using a specified delimiter.

This node combines an array of strings into a single string, inserting a specified delimiter between each element.

Example#

  • segments: ["path", "to", "file.txt"]
  • delimiter: /
  • result: "path/to/file.txt"

If the input array is empty, the output will be an empty string. If the array contains only one element, the output will be that element itself, without any delimiter.

Inputs#

Port Description
Delimiter
The string to insert between each element of the array.
String Segments
The array of strings to be joined.

Outputs#

Port Description
The joined string.

ID: core/string-join-array@v1