Nodes/ComfyUI-StringJoinTools/Optional String Join (5)
ComfyUI Node

Optional String Join (5)

Joins connected non-empty STRING inputs in socket order. Unconnected inputs and empty strings are ignored. If no usable string exists, returns an empty string.

By ruminar·Created about a month ago·Updated 6 days ago· 1
Optional String Join (5)
    • text
    separator,
    text_1
    text_2
    text_3
    text_4
    text_5
    CategoryString Join Tools

    Inputs (6)

    NameTypeDefaultDescription
    separatorSTRING, Inserted only between usable strings. Supports \n, \r\n, \t, and \\.
    text_1optSTRINGOptional STRING input. Missing inputs and exact empty strings are ignored.
    text_2optSTRINGOptional STRING input. Missing inputs and exact empty strings are ignored.
    text_3optSTRINGOptional STRING input. Missing inputs and exact empty strings are ignored.
    text_4optSTRINGOptional STRING input. Missing inputs and exact empty strings are ignored.
    text_5optSTRINGOptional STRING input. Missing inputs and exact empty strings are ignored.

    Outputs (1)

    NameTypeDescription
    textSTRING