π οΈ CR Text List To String
Collapse a list back into one string
- STRING
- show_help
This is the reverse of what most of Comfyroll's list nodes do. CR Text List, CR Prompt List, and friends take one block of text and fan it out into a list that runs your graph once per item. CR Text List To String does the opposite: it takes a list and joins it back into a single string.
Why you'd want to undo a list
The whole point of a list output in ComfyUI is that it triggers per-item execution downstream - feed a five-line list into a KSampler chain and you get five runs. That's usually exactly what you want. But sometimes you don't want execution to fan out; you want to actually look at or save the whole list as one readable chunk - previewing what a CR Text List produced before you commit to running it five times, or writing the entire assembled set to a file with CR Save Text To File, which expects a single string rather than a list it would otherwise run once per entry. This node is the step that stops the fan-out and gives you one string back.
How it works
Feed text_list - a STRING list, the kind CR Text List or similar nodes produce - and the node concatenates the entries into a single STRING output. Wiring this into something further downstream means that thing runs once, against the whole joined text, instead of once per original list item.
The inputs and outputs that matter
text_list- the list to collapse. Required; wire it from a list-producing node upstream.
Output: a single STRING (the joined result), plus the standard show_help link.
How to install it
ComfyUI Manager - search "Comfyroll Studio", install, restart. Manual:
cd ComfyUI/custom_nodes
git clone https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes.git
then restart. No models, no dependencies.
Common issues
Confusing this with a node that just picks one item. This doesn't select or filter - it joins everything in the list together. If you actually wanted just one entry (say, the third line), this is the wrong node; you'd want an index-based selector instead.
Feeding it something that isn't a genuine list. If text_list is wired from a node that only ever outputs a single string (not flagged as a list), this node still runs - it just has one item to "join," which returns that same string unchanged. Not an error, just not doing anything useful in that case.
Downstream node still runs multiple times. If you're trying to stop per-item execution and it's still fanning out, double-check you actually wired the output of this node onward, rather than accidentally keeping a connection from the original list node still attached somewhere else in the graph.
If Comfyroll's nodes are missing from your search entirely, that's a pack-wide load failure - check your ComfyUI console for Comfyroll Studio: Failed to load ... nodes, commonly a Pillow version conflict from another custom node, and reinstall Pillow or update the pack through Manager.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| text_list | STRING | β |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| STRING | STRING | β |
| show_help | STRING | β |