ComfyUI Node
List: from String (lab)
Split a single string into elements delimited by a separator By default the list elements are strings, but they can be converted.
List: from String (lab)
- list
- count
◄string►
◄separator,►
◄convertdisabled►
CategoryComfyLab/list
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| string | STRING | single string to be splitted by separator | |
| separator | STRING | , | element seperator (spaces surrounding values will be trimmed) |
| convert | COMBO | disabled | convert each value to int, float or boolean for booleans, values like true/false, yes/no, on/off, 0/1... are accepted. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| list | LIST | list of values, splitted using the separator, optionally converted |
| count | INT | number of values |