Merge Strings (Large)
Ten slots of prompt assembly, one gotcha
- any_1
- any_2
- any_3
- any_4
- any_5
- any_6
- any_7
- any_8
- any_9
- any_10
- string
Merge Strings (Large) is the bigger brother of the pack's Merge Strings: ten input slots instead of five, same join-with-delimiter logic, same permissive any-type inputs that only actually join strings. It's for the workflows where your prompt isn't three fragments but a full orchestra - base subject, lighting, lens, style, medium, artist tag, quality tokens, negative terms, a wildcard roll, a caption - and you want them assembled in a defined order into one string.
The joining rules are the good kind and identical to the 5-slot version: only non-empty strings are joined, empty slots don't leave dangling delimiters, and non-string inputs (numbers, images, model objects) are silently ignored rather than converted. The delimiter defaults to ", " for prompt-style assembly, and the special value "\n" becomes a real newline so you can build multi-line text blocks too.
The gotcha: slot ordering
Here's the thing nobody tells you about the Large version: inputs are joined in sorted key order, and lexicographic sorting puts any_10 between any_1 and any_2. So if you fill all ten slots, the join order isn't left-to-right the way you'd read the node - any_10 gets merged second, right after any_1, and before any_2. For most people using a handful of slots near the top this never bites. But the moment you use slots 2 through 9 and also slot 10, your carefully arranged prompt order quietly rearranges itself.
The workaround is simple: either use the 5-slot version (which sorts cleanly as any_1..any_5), or treat the Large version's slot order as "wire them in an order where the lexicographic shuffle doesn't matter" - or just don't use slot 10 unless you truly need ten parts.
Inputs and outputs
- any_1 through any_10 (any type, optional) - ten slots; only strings get joined.
- Delimiter (STRING, default
", ") - the joiner. - Output string (STRING) - the merged result.
Installing it
Part of ComfyUI-RvTools_v2:
cd ComfyUI/custom_nodes
git clone https://github.com/r-vage/ComfyUI-RvTools_v2
Restart ComfyUI or install via ComfyUI Manager (search "RvTools"). No model downloads; dependencies are the standard stack plus opencv-python, pilgram, pynvml, piexif.
Gotchas
The pack README marks it no longer maintained, superseded by ComfyUI_Eclipse (same author). Still runs fine.
Beyond the ordering quirk, the "only strings join" rule is the other gotcha - feed a number and it's dropped, not converted. And note this is the permissive (any-type) variant; the pack also has a ten-slot v2 version that types every input as STRING with forceInput, which trades that tolerance for wiring-time type checks. Choose based on whether you want forgiveness or enforcement.
Inputs (11)
| Name | Type | Default | Description |
|---|---|---|---|
| any_1opt | * | — | |
| any_2opt | * | — | |
| any_3opt | * | — | |
| any_4opt | * | — | |
| any_5opt | * | — | |
| any_6opt | * | — | |
| any_7opt | * | — | |
| any_8opt | * | — | |
| any_9opt | * | — | |
| any_10opt | * | — | |
| Delimiteropt | STRING | , | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| string | STRING | — |