ComfyUI Node
Prompt Line (Text-Driven)
Extracts specific lines from a multi-line text to output as a list of strings for batch processing. If 'loops' is true, it wraps around to the beginning when max_rows exceeds available lines.
Prompt Line (Text-Driven)
- string_out
◄prompt►
◄start_index0►
◄max_rows1000►
◄remove_empty_linestrue►
◄loopsfalse►
CategoryText-Driven Workflows
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt | STRING | — | |
| start_index | INT | 00–9999 | — |
| max_rows | INT | 10001–9999 | — |
| remove_empty_lines | BOOLEAN | true | — |
| loops | BOOLEAN | false | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| string_out | STRING | — |