ComfyUI Node
Random Line Concatenator (rholdorf)
Pick one line at random from a toggle-able list and concatenate it between optional prefix/suffix strings.
Random Line Concatenator (rholdorf)
- text
◄seed0►
◄adjust_whitespacetrue►
◄start►
◄random_choice[]►
◄end►
◄text_in►
Categoryrholdorf/text
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| seed | INT | 00–18446744073709550000 | Seed for picking a line from random_choice. |
| adjust_whitespace | BOOLEAN | true | Collapse runs of whitespace and join parts with a single space. |
| start | STRING | Text prepended before the random line. | |
| random_choice | STRING | [] | Options pool. Edit via the toggleable rows in the node UI. |
| end | STRING | Text appended after the random line. | |
| text_inopt | STRING | Optional upstream string; prepended before start/chosen/end. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| text | STRING | — |