Nodes/comfyui_imgtools/Random Line Concatenator (rholdorf)
ComfyUI Node

Random Line Concatenator (rholdorf)

Pick one line at random from a toggle-able list and concatenate it between optional prefix/suffix strings.

By rholdorf·Created 7 months ago·Updated about a month ago· 0
Random Line Concatenator (rholdorf)
    • text
    seed0
    adjust_whitespacetrue
    start
    random_choice[]
    end
    text_in
    Categoryrholdorf/text

    Inputs (6)

    NameTypeDefaultDescription
    seedINT00–18446744073709550000Seed for picking a line from random_choice.
    adjust_whitespaceBOOLEANtrueCollapse runs of whitespace and join parts with a single space.
    startSTRINGText prepended before the random line.
    random_choiceSTRING[]Options pool. Edit via the toggleable rows in the node UI.
    endSTRINGText appended after the random line.
    text_inoptSTRINGOptional upstream string; prepended before start/chosen/end.

    Outputs (1)

    NameTypeDescription
    textSTRING