String List To String
Join a list of strings
- input_string_list
- strings
String List To String (class AsyncOutputConvertStringListToString) is the one node in this pack that does something a normal person wants to do: turn a list of strings into a single string. It's Array.join() in node form. You hand it a LIST (say, the output_list from AsyncOutputCallback), tell it what to put between the items, and it hands back one STRING.
If the rest of the AsyncOutput family is about the elaborate collect-count-callback dance, this node is the payoff step - the place where the accumulated strings finally become something usable, like the results.join("\n") in the README's JavaScript example. And if you're not using the AsyncOutput dance at all, it's still a perfectly fine utility: any LIST of strings from any pack can flow through it.
How it works
It does join_word.join(input_string_list) under the hood - inserts join_word between every item. Simple. The one genuine subtlety is the escape-character flag, which exists because of a mismatch between what you type in the ComfyUI widget and what the node actually receives. If you type \n as the separator, what arrives is the literal two-character sequence backslash-n, and joining with that produces strings that look joined but contain \n as text. Flip is_escape_char on and the node converts those escape sequences to real characters. The schema tooltip states it as "if use ascii escape char, must enable," and the source documents the supported set: \n, \t, \r, \', \", \\.
The inputs that matter
input_string_list(LIST, forced input) - the list to join.join_word(STRING, default"") - the separator. Empty string concatenates directly.is_escape_char(BOOLEAN, defaultfalse) - turn this on ifjoin_wordcontains escape sequences you want interpreted.
Output: strings (STRING) - the joined result.
Installing it
No dependencies, no models. ComfyUI Manager → search "AsyncOutput" → install and restart, or:
cd ComfyUI/custom_nodes
git clone https://github.com/teddy1565/ComfyUI-AsyncOutput
It's under AsyncOutput/Deprecated(ComfyUI NOT Turing complete)/String.
Where people get burned
The escape-char trap is the one that'll actually bite you: join a list with \n while is_escape_char is off and you get literal \n text in your output. It's also worth knowing there's a second, non-deprecated copy of this exact node - UtilsConvertStringListToStringNode - living under AsyncOutput/Utils. They're identical; reach for the Utils one and skip the deprecated copy. Amusingly, this is the only node in the entire pack with any measurable search traffic (a single impression), which tells you something about how much of the rest of this pack the world has actually gone looking for.
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| input_string_list | LIST | — | |
| join_word | STRING | — | |
| is_escape_char | BOOLEAN | false | if use ascii escape char, must enable |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| strings | STRING | — |