Nodes/NH-Nodes/Text Split Lines (NH)
ComfyUI Node

Text Split Lines (NH)

A ComfyUI node in NH-Nodes/Text with 8 inputs and 6 outputs.

By jetthuangai·Created 5 months ago·Updated about 16 hours ago· 6
Text Split Lines (NH)
    • lines
    • selected
    • count
    • preview
    • is_first
    • is_last
    textfirst prompt second prompt third prompt
    index0
    mode
    seed0
    delimiter\n
    skip_emptytrue
    strip_whitespacetrue
    wrap_indextrue
    CategoryNH-Nodes/Text

    Inputs (8)

    NameTypeDefaultDescription
    textSTRINGfirst prompt second prompt third prompt
    indexINT0-1–9999Which line to pick for `selected`. -1 = random (uses seed).
    modeCOMBO3 options: sequential, shuffle, reverse
    seedINT00–4294967295
    delimiteroptSTRING\n
    skip_emptyoptBOOLEANtrue
    strip_whitespaceoptBOOLEANtrue
    wrap_indexoptBOOLEANtrue

    Outputs (6)

    NameTypeDescription
    linesSTRING
    selectedSTRING
    countINT
    previewSTRING
    is_firstBOOLEAN
    is_lastBOOLEAN