String Contact Multi - klinter
Join N strings with a real separator, not a space
- STRING
The pack's plain Concat String joins three strings with spaces and calls it a day. String Contact Multi - klinter is the version for when "space" is the wrong separator - when you need a comma between prompt tags, a newline between chunks, or a pipe between options. It joins a variable number of strings (default 2, up to 1000) with a separator you pick from a dropdown.
The inputs are inputcount (how many string inputs to expose) and separator, with four choices: comma, newline, pipe, and space. Bump inputcount and the node exposes string_1, string_2, etc. up to your count. Any input you leave unconnected is skipped, so you can set a generous count and only wire what you need without producing stray separators. One STRING output with everything joined.
The author credits Kijai's KJNodes multi-input pattern in the source, and that's the right reference point - this is a familiar, well-trodden design, just rebuilt with the pack's own separator logic. Where it earns its place: building prompt strings where the separator is semantically meaningful. Comma-separated tag lists for some models, newline-separated positive/negative blocks for others, pipe-separated options when you're feeding a picker. The newline option alone is more useful than it sounds, because a lot of workflow nodes only take a single text line and newline-joining lets you cram structured content into one string.
The honest gotchas are minor but real. It's a "contact" (the pack's spelling, matching the node's name) of strings - if you connect a non-string like an INT or a seed, ComfyUI's type system will complain at the wire. And there's no trimming: leading/trailing spaces in your inputs pass through, so a comma join of "cat" and " dog" gives cat, dog with the space you didn't put there. Also note the case-sensitivity and exact-match rules of the pack's Filter String don't apply here, but its input handling is similarly uncomplicated.
Install is the pack standard: search "Klinter_nodes" in ComfyUI Manager, or cd ComfyUI/custom_nodes && git clone https://github.com/klinter007/klinter_nodes then restart. No requirements.txt, no models, no dependencies beyond the bundled comfy_api and the pack's dynamic-input JavaScript.
If you've been squeezing comma-joined strings out of the three-field concat node, this is the upgrade that stops the manual comma-typing.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| inputcount | INT | 22–1000 | — |
| separator | COMBO | comma | 4 options: comma, newline, pipe, space |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| STRING | STRING | — |