Visit ComfyUI Online for ready-to-use ComfyUI environment
Concatenate up to five text inputs with optional delimiter for structured output.
The TextConcat
node is designed to concatenate up to five text inputs into a single string, providing an optional delimiter to separate the concatenated texts. This node is particularly useful for AI artists who need to combine multiple text elements into a cohesive string for various creative projects. By allowing the specification of a delimiter, it offers flexibility in how the final output is formatted, making it easier to create structured and readable text outputs. Whether you are combining prompts, descriptions, or any other text elements, TextConcat
simplifies the process by handling the concatenation efficiently and effectively.
The delimiter
parameter specifies the string that will be used to separate each of the text inputs in the final concatenated output. This can be any string, such as a space, comma, or any other character or sequence of characters. The default value is a single space (' '
). Using an appropriate delimiter can help in creating a more readable and structured output.
The text1
parameter is the first optional text input to be concatenated. If this parameter is not provided or is an empty string, it will be ignored in the concatenation process. The default value is an empty string (''
).
The text2
parameter is the second optional text input to be concatenated. Similar to text1
, if this parameter is not provided or is an empty string, it will be ignored. The default value is an empty string (''
).
The text3
parameter is the third optional text input to be concatenated. If this parameter is not provided or is an empty string, it will be ignored. The default value is an empty string (''
).
The text4
parameter is the fourth optional text input to be concatenated. If this parameter is not provided or is an empty string, it will be ignored. The default value is an empty string (''
).
The text5
parameter is the fifth optional text input to be concatenated. If this parameter is not provided or is an empty string, it will be ignored. The default value is an empty string (''
).
The output parameter is a single string that results from concatenating the provided text inputs, separated by the specified delimiter. This output is useful for creating combined text prompts, descriptions, or any other text-based content where multiple inputs need to be merged into one cohesive string.
delimiter
parameter to an empty string (''
).text1
, text2
, text3
, text4
, text5
) is provided and is not an empty string.delimiter
parameter is set to the desired string. If using special characters, ensure they are properly escaped or formatted.© Copyright 2024 RunComfy. All Rights Reserved.