EasyUse/Logicgenerated

String Join Lines(stringJoinLines)

The String Join Lines node joins the individual lines of a multi-line string into one string, placing a chosen delimiter between each line.

string Join Lines

STRING
string
STRING
delimiter
|
Easy Use

Description

The String Join Lines node joins the individual lines of a multi-line string into one string, placing a chosen delimiter between each line. It is part of the EasyUse/Logic category and is useful when you need to convert multi-line text into a single-line representation.

Inputs

string

  • Type: STRING (required)
  • Default: ""

The multi-line input string whose lines should be joined. Lines are taken in the order they appear in the input. Use line breaks in the text field, or \n when supplying the value programmatically, to separate lines.

delimiter

  • Type: STRING (required)
  • Default: " | "

The separator inserted between each pair of joined lines. The default is a space, pipe, and space (|). Set it to an empty string to concatenate the lines directly, or use any other separator such as , , ;, or |.

Outputs

  • Type: STRING

The joined result as a single string. The delimiter appears between lines, but is not added before the first line or after the last line.

Usage Notes

  • The join operation preserves the existing line order from the input.

  • If the input has only one line, the output is that line unchanged.

  • If the delimiter is empty, the node acts as a simple concatenation of the input lines.

  • This node is often used before text-based nodes that expect a single-line prompt or label.

  • Example: with input string:

    alpha
    beta
    gamma

    and the default delimiter |, the output is:

    alpha | beta | gamma

Comments

Sign in with GitHub to join the discussion.

Loading comments…