Nodes/ComfyUI-Buff-Nodes/Multiline Text Splitter (Buff)
ComfyUI Node

Multiline Text Splitter (Buff)

A ComfyUI node in utils with 5 inputs and 20 outputs.

By BuffMcBigHuge·Created about a year ago·Updated 2 months ago· 2
Multiline Text Splitter (Buff)
    • text_1
    • text_2
    • text_3
    • text_4
    • text_5
    • text_6
    • text_7
    • text_8
    • text_9
    • text_10
    • text_11
    • text_12
    • text_13
    • text_14
    • text_15
    • text_16
    • text_17
    • text_18
    • text_19
    • text_20
    input_text
    num_outputs2
    lines_per_output1
    split_evenlyFalse
    remove_empty_linesFalse
    Categoryutils

    Inputs (5)

    NameTypeDefaultDescription
    input_textSTRINGMultiline text input to split into multiple outputs
    num_outputsINT21–20Number of output text fields to create
    lines_per_outputINT11–1000Number of lines per output (used when split_evenly is False)
    split_evenlyCOMBOFalseWhen True, splits lines evenly across outputs. When False, uses lines_per_output for each output sequentially.
    remove_empty_linesoptCOMBOFalseWhen True, removes empty lines from the input before processing. When False, empty lines are preserved.

    Outputs (20)

    NameTypeDescription
    text_1STRING
    text_2STRING
    text_3STRING
    text_4STRING
    text_5STRING
    text_6STRING
    text_7STRING
    text_8STRING
    text_9STRING
    text_10STRING
    text_11STRING
    text_12STRING
    text_13STRING
    text_14STRING
    text_15STRING
    text_16STRING
    text_17STRING
    text_18STRING
    text_19STRING
    text_20STRING