Merge Strings v2 (Large)
Ten typed slots, still with the ordering quirk
- string
Merge Strings v2 (Large) is the ten-slot, typed-strict version of the pack's string joiner. Ten STRING inputs, each marked forceInput so every one of them expects a real text wire, joined into a single string with a delimiter that defaults to ", ". It's the big-graph workhorse of the Merge Strings family: enough slots to assemble a serious prompt from a wildcard roller, style presets, lora trigger words, and a base subject - all with the type-safety that catches a wrong connection before it becomes a weird prompt.
The family tree helps you pick the right one. There are four variants: 5-slot and 10-slot, each in a permissive (any-type, skips non-strings) and a strict (typed STRING, forceInput) flavor. This is the strict 10-slot one. Choose it when you're building a workflow you'll keep or share and you want the graph to refuse wrong wires - the tradeoff being that every slot demands a connection, even if you just want an empty string in that position.
Joining logic across the family is identical and friendly: only non-empty strings are joined, so empty slots never leave stray delimiters, and a delimiter of "\n" becomes a real newline for multi-line output.
The ordering quirk, again
Same caveat as the other Large version, and it's worth repeating because it's the one real trap: slots are joined in sorted key order, and lexicographic sorting puts string_10 between string_1 and string_2. Fill slots 1 through 10 and your assembly order isn't the visual left-to-right order - string_10 merges second. If your prompt order matters (and it usually does), either stay in the 5-slot range or account for the shuffle.
Inputs and outputs
- string_1 through string_10 (STRING, optional, forceInput) - ten typed text inputs.
- Delimiter (STRING, default
", ") - the joiner. - Output string (STRING) - the merged result.
Installing it
Ships in 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 torch/numpy/Pillow plus opencv-python, pilgram, pynvml, piexif.
Gotchas
README says the pack is no longer maintained, superseded by ComfyUI_Eclipse (same author). v2 nodes still work.
Two things to keep in mind: the forceInput slots can't be typed into - each needs a connected wire (an empty STRING node works as a skip), and the lexicographic ordering quirk above applies to slots beyond the first nine. If you mostly live in the first five slots, none of this will ever bother you.
Inputs (11)
| Name | Type | Default | Description |
|---|---|---|---|
| string_1opt | STRING | — | |
| string_2opt | STRING | — | |
| string_3opt | STRING | — | |
| string_4opt | STRING | — | |
| string_5opt | STRING | — | |
| string_6opt | STRING | — | |
| string_7opt | STRING | — | |
| string_8opt | STRING | — | |
| string_9opt | STRING | — | |
| string_10opt | STRING | — | |
| Delimiteropt | STRING | , | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| string | STRING | — |