String Multiline List
The multiline box that also hands you the list of lines
- string
- string_list
String Multiline List is String Multiline with one extra output that quietly unlocks a lot: not only does it collapse your multiline text into a single space-joined string, it also gives you the list of individual lines. One box, two outputs, and the list version is the part that makes it more than a convenience.
Think about what a list of strings gets you that a single blob doesn't. You can iterate - feed each line to something that processes one string at a time, index into it, or use it as a batch of options. That's the difference between "here's a paragraph" and "here's a list of 12 distinct items you can handle one by one." For tag lists, caption batches, or a file's worth of lines you've pasted in, that's genuinely useful rather than merely tidy.
How it works
Same core as String Multiline: the string widget holds the multiline content, and an optional input_string input can prepend a wired-in value. The outputs are:
string- all lines joined with spaces into one string (the prepended input first).string_list- the individual lines as a list of strings.
The string_list output is the one to remember. If you're ever building something per-line - a prompt per character, a caption per image, a batch of negative blocks - it saves you from having to split the string yourself in another node.
Where it fits
Use it anywhere you want both views of the same text: the readable joined version for a CLIP encoder, plus the structural version for logic. It also works well as a lightweight way to define a small list in the graph - paste your items, one per line, and the string_list output behaves like any other list you'd get from a dedicated list node.
Installing it
Ships in ComfyUI_Eclipse:
git clone https://github.com/r-vage/ComfyUI_Eclipse custom_nodes/ComfyUI_Eclipse
Or ComfyUI Manager β search "ComfyUI_Eclipse" β install and restart. No models, no extra dependencies.
Gotchas
The same line-collapse behavior as String Multiline applies to the joined output, so don't expect preserved formatting there. And note that the list is built from the widget content at execute time - if you're driving it from input_string, the prepended value lands in the joined string; it's the multiline box that defines the list. One family note: workflows from before Eclipse v4.0.0 referencing RvTools-era node IDs need the migration tool; new graphs load clean.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| string | STRING | Multiline string input. Splits into a list of lines and returns the full string joined by spaces. | |
| input_stringopt | STRING | Optional string input to prepend to the multiline content. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| string | STRING | β |
| string_list | STRING | β |