Visit ComfyUI Online for ready-to-use ComfyUI environment
Combine text strings with optional delimiters for AI artists to merge and format textual data effectively.
The Text Concatenate (JPS) node is designed to combine multiple text strings into a single cohesive string, with an optional delimiter between each segment. This node is particularly useful for AI artists who need to merge various text inputs, such as prompts, descriptions, or other textual data, into a unified format. By allowing the inclusion of delimiters like spaces or commas, it provides flexibility in how the final concatenated text appears, ensuring that the output is both readable and appropriately formatted for subsequent processing or display.
The delimiter
parameter specifies the character or string that will be inserted between each text segment during concatenation. It can take values such as "space" or "comma", which will insert a space or a comma followed by a space, respectively. This parameter is crucial for ensuring that the concatenated text is readable and properly formatted. There are no minimum or maximum values, but the options are predefined as "space" and "comma".
The text1
parameter is the first text string to be concatenated. This parameter is optional but serves as the starting point for the concatenation process. If provided, it will be the initial segment of the final concatenated string. There are no restrictions on the length or content of this text.
The text2
parameter is the second text string to be concatenated. If provided, it will be appended to text1
with the specified delimiter in between. This parameter is optional and can contain any text.
The text3
parameter is the third text string to be concatenated. Similar to text2
, it will be appended to the existing concatenated string with the delimiter in between if provided. This parameter is optional and can contain any text.
The text4
parameter is the fourth text string to be concatenated. If provided, it will be appended to the existing concatenated string with the delimiter in between. This parameter is optional and can contain any text.
The text5
parameter is the fifth text string to be concatenated. If provided, it will be appended to the existing concatenated string with the delimiter in between. This parameter is optional and can contain any text.
The concatenated
parameter is the final output of the node, representing the combined text string formed by concatenating text1
, text2
, text3
, text4
, and text5
with the specified delimiter in between each segment. This output is crucial for any subsequent processing or display tasks that require a single, unified text string.
delimiter
parameter to ensure that the concatenated text is readable and properly formatted. For example, use "space" to separate words or "comma" to separate items in a list.delimiter
parameter.text1
, text2
, etc.) is provided in the desired order, as the concatenation process follows the sequence of these inputs.text1
, text2
, etc.) are provided, the output will be an empty string.delimiter
parameter, the node may not function as expected.delimiter
parameter to ensure proper functionality.© Copyright 2024 RunComfy. All Rights Reserved.