ComfyUI Node
XStringGroup
Group multiple strings with customizable separation methods and select one to output
XStringGroup
- total_string
- selected_string
- string_1
- string_2
- string_3
- string_4
- string_5
◄select_string1►
◄string_1►
◄separation_method_1_2none►
◄string_2►
◄separation_method_2_3none►
◄string_3►
◄separation_method_3_4none►
◄string_4►
◄separation_method_4_5none►
◄string_5►
Category♾️ Xz3r0/Workflow-Processing
Inputs (10)
| Name | Type | Default | Description |
|---|---|---|---|
| select_string | COMBO | 1 | Select which string to output (1-5) |
| string_1 | STRING | First multiline string input | |
| separation_method_1_2 | COMBO | none | Separation method between String 1 and String 2 (none: '', newline: \n, space: ' ', comma: ',', comma_space: ', ', period: '.', period_space: '. ') |
| string_2 | STRING | Second multiline string input | |
| separation_method_2_3 | COMBO | none | Separation method between String 2 and String 3 (none: '', newline: \n, space: ' ', comma: ',', comma_space: ', ', period: '.', period_space: '. ') |
| string_3 | STRING | Third multiline string input | |
| separation_method_3_4 | COMBO | none | Separation method between String 3 and String 4 (none: '', newline: \n, space: ' ', comma: ',', comma_space: ', ', period: '.', period_space: '. ') |
| string_4 | STRING | Fourth multiline string input | |
| separation_method_4_5 | COMBO | none | Separation method between String 4 and String 5 (none: '', newline: \n, space: ' ', comma: ',', comma_space: ', ', period: '.', period_space: '. ') |
| string_5 | STRING | Fifth multiline string input |
Outputs (7)
| Name | Type | Description |
|---|---|---|
| total_string | STRING | Output of all grouped strings (with separation methods) |
| selected_string | STRING | Selected string output based on select_string |
| string_1 | STRING | Original output of String 1 |
| string_2 | STRING | Original output of String 2 |
| string_3 | STRING | Original output of String 3 |
| string_4 | STRING | Original output of String 4 |
| string_5 | STRING | Original output of String 5 |