ComfyUI Node
Optional String Join (5)
Joins connected non-empty STRING inputs in socket order. Unconnected inputs and empty strings are ignored. If no usable string exists, returns an empty string.
Optional String Join (5)
- text
◄separator, ►
◄text_1—►
◄text_2—►
◄text_3—►
◄text_4—►
◄text_5—►
CategoryString Join Tools
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| separator | STRING | , | Inserted only between usable strings. Supports \n, \r\n, \t, and \\. |
| text_1opt | STRING | Optional STRING input. Missing inputs and exact empty strings are ignored. | |
| text_2opt | STRING | Optional STRING input. Missing inputs and exact empty strings are ignored. | |
| text_3opt | STRING | Optional STRING input. Missing inputs and exact empty strings are ignored. | |
| text_4opt | STRING | Optional STRING input. Missing inputs and exact empty strings are ignored. | |
| text_5opt | STRING | Optional STRING input. Missing inputs and exact empty strings are ignored. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| text | STRING | — |