ComfyUI Node
String Extract
A ComfyUI node in JSON Dynamic/string with 5 inputs and 4 outputs.
String Extract
- result
- dirname
- basename
- extension
◄text►
◄mode▾►
◄delimiter/►
◄index-1►
◄delimiter_2►
CategoryJSON Dynamic/string
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| text | STRING | — | |
| mode | COMBO | 3 options: split_take, between, filename_parts | |
| delimiteropt | STRING | / | — |
| indexopt | INT | -1-999–999 | — |
| delimiter_2opt | STRING | — |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| result | STRING | — |
| dirname | STRING | — |
| basename | STRING | — |
| extension | STRING | — |