Files
geroldmeisinger-ComfyUI-out…/web/docs/StringOutputList.md
T

25 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
## String OutputList
![String OutputList](StringOutputList/StringOutputList.png)
(ComfyUI workflow included)
Creates an OutputList by splitting the string in the textfield with a separator.
`value` and `index` use(s) `is_output_list=True` (indicated by the symbol `𝌠`) and will be processed sequentially by corresponding nodes.
### Inputs
| Name | Type | Description |
| --- | --- | --- |
| `separator` | `STRING` | The string used to split the textfield values by. Supports character escaping like `\n` (newline), `\n\n` (two new lines), ¸`\t` (tabcharacter) etc. |
| `values` | `STRING` | The text you want to split into a list. Note that the string is trimmed of trailing newlines before splitting, and each item is again trimmed of whitespace. |
### Outputs
| Name | Type | Description |
| --- | --- | --- |
| `value` | `* 𝌠` | The values from the list. |
| `index` | `INT 𝌠` | Range of 0..count. You can use this as an index. |
| `count` | `INT` | The number of items in the list. |
| `inspect_combo` | `COMBO` | A dummy-output you can use to link to a `COMBO` and pre-fill with it's values. The connection will then be automatically re-linked to `value` output. |