Nodes/comfyui-moonpack/Dynamic String Concat (legacy)
ComfyUI Node

Dynamic String Concat (legacy)

Concatenates connected string inputs in slot order. If 'template' is non-empty, slots are interpolated into placeholders {1}, {2}, … instead of joined.

By moonwhaler·Created about a year ago·Updated 24 days ago· 15
Dynamic String Concat (legacy)
    • text
    separator
    ignore_emptytrue
    strip_whitespacetrue
    prefix
    suffix
    template
    CategoryMoonPack/string

    Inputs (6)

    NameTypeDefaultDescription
    separatorSTRING Separator placed between joined strings (ignored when 'template' is non-empty).
    ignore_emptyBOOLEANtrueSkip inputs that are empty after stripping (join mode only).
    strip_whitespaceBOOLEANtrueStrip leading/trailing whitespace from each input before joining.
    prefixSTRINGPrepended to the final result.
    suffixSTRINGAppended to the final result.
    templateSTRINGIf non-empty, slots are interpolated into {N} placeholders instead of joined.

    Outputs (1)

    NameTypeDescription
    textSTRING