🅐 Text Concatenate:
ACE_TextConcatenate joins two pieces of text into one continuous phrase or passage, placing a chosen divider between them. It is useful when you want to assemble prompt fragments, labels, or other text without editing them manually each time. The node preserves the text as supplied and joins it in a fixed order; it does not add spaces, remove punctuation, or rewrite the wording for you.
🅐 Text Concatenate Input Parameters:
text1
The first required piece of text. It appears at the beginning of the combined result, exactly as supplied, including any spaces or line breaks. This is a STRING input configured for multiline text and a connected input. No default, minimum length, or maximum length is specified in the node source.
text2
The second required piece of text. It appears after the separator, exactly as supplied, including any spaces or line breaks. This is a STRING input configured for multiline text and a connected input. No default, minimum length, or maximum length is specified in the node source.
separator
The text placed between the first and second pieces. Its default is a comma followed by a space (", "), so portrait and soft lighting become portrait, soft lighting. You can change it to another string, such as a space, a line break supplied through a connection, or an empty string when no divider is wanted. The node configures this input as a single-line STRING field. No minimum or maximum length or predefined options are specified.
🅐 Text Concatenate Output Parameters:
string
The single STRING result, formed in this exact order: text1 + separator + text2. For example, with text1 set to portrait, separator set to ", ", and text2 set to soft lighting, the output is portrait, soft lighting. The value can be passed to another node that accepts text; check the resulting punctuation and spacing because this node does not adjust them automatically.
🅐 Text Concatenate Usage Tips:
- Connect the two text sources in the order you want them to read. Put the opening phrase in
text1and the continuation intext2. - Set
separatorto match the task: use the default", "for comma-separated prompt fragments, a single space for a sentence, or an empty string to join text without a divider. - Check the ends of your source text before adding a separator. A trailing comma in
text1plus the default separator, for example, will produce two commas. - If either source contains line breaks, preview the combined result in a downstream text display or other compatible node to confirm the layout.
🅐 Text Concatenate Common Errors and Solutions:
Missing required input
- Explanation:
text1,text2, andseparatorare all required. If one is unavailable when the node runs, the workflow may report a missing-input error. The source does not define a custom error message for this case. - Solution: Connect a STRING source to both
text1andtext2, and ensureseparatorhas a value.
Incompatible input type
- Explanation: The node joins values using text addition. If a non-text value reaches an input, execution may fail with a Python error such as
TypeError: can only concatenate str (not "int") to str. The exact message depends on the value and how the workflow passes it to the node. - Solution: Supply STRING values. Convert numbers or other data to text with a suitable upstream node before connecting them.
Unexpected punctuation or spacing
- Explanation: This is generally an output issue, not an execution error. The node keeps existing spaces and punctuation and inserts the separator exactly once, so a source phrase that already ends with punctuation may produce a duplicate.
- Solution: Remove the extra punctuation or spaces from a source phrase, or change
separatorto fit the text already present.
Words run together
- Explanation: If
separatoris empty, or contains no spacing where spacing is needed, the two pieces of text can appear as one word. The node does not insert a space automatically. - Solution: Set
separatorto a space or another appropriate divider, then check the combined text.
