ComfyUI Node
Prompt Line
Split a multi-line text into one row per line and output it as a list: STRING (list of strings) and COMBO (list of options) carry the same rows. 'remove_empty_lines' drops blank and whitespace-only rows, 'start_index' and 'max_rows' pick where to start and how many rows to take. The 'fill from combo link' button on the canvas copies every option of the dropdown wired downstream into the text box. Same behaviour as Easy-Use's prompt line.
Prompt Line
- STRING
- COMBO
◄prompttext►
◄start_index0►
◄max_rows1000►
◄remove_empty_linestrue►
CategoryQG-tools/Text
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt | STRING | text | Multi-line text, one prompt per line; the output is the list of rows. |
| start_index | INT | 00–9999 | Which row to start from (0 is the first). Past the last row it falls back to that last row. |
| max_rows | INT | 10001–9999 | How many rows to take at most; fewer are returned when the text runs out. |
| remove_empty_lines | BOOLEAN | true | Drop blank and whitespace-only rows before the start index / max rows slice is applied. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| STRING | STRING | Every selected row as a list of strings. |
| COMBO | COMBO | The same rows, typed as options so the slot can drive a combo input. |