Visit ComfyUI Online for ready-to-use ComfyUI environment
Concatenate two input values into a single string efficiently for text manipulation and data merging.
The LogicUtil_MergeString
node is designed to concatenate two input values into a single string. This node is particularly useful when you need to combine different pieces of text or data into one continuous string, making it easier to manage and manipulate text-based information. Whether you are merging user inputs, combining dynamic data, or simply formatting strings for display, this node provides a straightforward and efficient way to achieve your goal. By converting the inputs to strings before concatenation, it ensures compatibility with various data types, enhancing its versatility and ease of use.
This parameter represents the first input value to be concatenated. It can be of any type, including strings, numbers, or boolean values. The node will convert this input to a string before merging it with the second input. The default value for this parameter is an empty string (""
).
This parameter represents the second input value to be concatenated. Similar to input1
, it can be of any type, and the node will convert it to a string before performing the concatenation. The default value for this parameter is also an empty string (""
).
The output of this node is a single concatenated string that combines input1
and input2
. This output is useful for creating formatted text, combining dynamic data, or preparing strings for further processing or display.
None
, which cannot be concatenated with a string.input1
and input2
are not None
before passing them to the node. You can use default values or pre-check the inputs to avoid this error.© Copyright 2024 RunComfy. All Rights Reserved.