Visit ComfyUI Online for ready-to-use ComfyUI environment
Concatenate up to three strings with options for separators, ideal for dynamic text generation in creative workflows.
StringAppend3 is a versatile node designed to concatenate up to three strings into a single output string, offering flexibility in how these strings are combined. This node is particularly useful for AI artists who need to dynamically generate or manipulate text prompts by merging multiple string inputs. The node provides several options for combining the strings, such as using spaces, underscores, commas, or newlines, allowing you to tailor the output to your specific needs. By filtering out any empty strings before concatenation, StringAppend3 ensures that the resulting string is clean and free of unnecessary separators, making it an efficient tool for text processing in creative workflows.
This parameter represents the first string to be included in the concatenation process. It can be any text input, and if left empty, it will be ignored in the final output. The default value is an empty string, and it supports multiline text.
Similar to string_1, this parameter is the second string to be concatenated. It also defaults to an empty string and supports multiline text. If this string is empty, it will not affect the final output.
This is the third string input for the concatenation process. Like the previous string parameters, it defaults to an empty string and supports multiline text. Empty values are ignored in the final concatenated result.
This parameter determines how the strings will be joined together. It offers several options: "None" for direct concatenation without separators, "Space" for a space between strings, "Underscore" for an underscore separator, "Comma" for a comma and space, and "Newline" for a newline character. The default setting is "Comma", which is useful for creating comma-separated lists.
The output is a single concatenated string that results from merging the non-empty input strings according to the specified combine_mode. This output is crucial for generating dynamic text content, as it allows you to create complex strings from simpler components, tailored to your specific formatting needs.
combine_mode settings.combine_mode setting to ensure it matches your intended output format, and adjust it if necessary.RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.