Visit ComfyUI Online for ready-to-use ComfyUI environment
Efficiently concatenate strings with separators for dynamic text generation in AI workflows.
The Simple String Combine (WLSH) node is designed to facilitate the concatenation of strings in a flexible and user-friendly manner. This node allows you to append or prepend additional text to an existing string, with the option to include various separators such as commas, spaces, newlines, or no separator at all. This functionality is particularly useful for AI artists who need to dynamically generate or modify text strings, such as filenames, prompts, or other textual data, without requiring extensive programming knowledge. By providing a straightforward interface for string manipulation, the Simple String Combine (WLSH) node enhances your workflow efficiency and creativity.
This parameter allows you to specify the string that you want to add to the existing input string. It supports multiline text, enabling you to include complex or lengthy additions. The content of this parameter will be combined with the input string based on the placement and separator options you choose.
This parameter determines where the addition will be placed relative to the input string. It accepts two options: after
and before
. Choosing after
will append the addition to the end of the input string, while choosing before
will prepend the addition to the beginning of the input string.
This parameter specifies the type of separator to use between the input string and the addition. The available options are comma
, space
, newline
, and none
. Selecting a separator will insert the corresponding character(s) between the input string and the addition, ensuring proper formatting and readability.
This optional parameter allows you to provide the initial string to which the addition will be combined. It supports multiline text and can be forced as an input, ensuring that you have a base string to work with. If this parameter is not provided, the node will simply return the addition as the output.
This output parameter contains the resulting string after the addition has been combined with the input string according to the specified placement and separator options. The combined string is returned as a single, cohesive text, ready for further use or processing in your workflow.
newline
separator to ensure each addition appears on a new line.space
or none
separator to avoid unwanted characters in the final string.placement
parameter to see how different configurations affect the readability and structure of your combined string.input_string
parameter is not provided or is set to None.input_string
parameter or handle the case where the input string might be None by setting a default value.separator
parameter.separator
parameter is set to one of the following valid options: comma
, space
, newline
, or none
.placement
parameter.placement
parameter is set to either after
or before
.© Copyright 2024 RunComfy. All Rights Reserved.