ComfyUI Node
đź’€Prepack Int Split
Split a string into up to four integers using selectable separator (comma, semicolon, space, newline, or forward slash).
đź’€Prepack Int Split
- int1
- int2
- int3
- int4
â—„input_string0,0â–ş
â—„separatorCommaâ–ş
Categoryđź’€Prepack
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| input_string | STRING | 0,0 | String containing up to four integers separated by the chosen separator. |
| separator | COMBO | Comma | Separator used between the integers in the input string. |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| int1 | INT | First integer extracted from the input string. |
| int2 | INT | Second integer extracted from the input string. |
| int3 | INT | Third integer extracted from the input string (0 if not present). |
| int4 | INT | Fourth integer extracted from the input string (0 if not present). |