ComfyUI Node
📝🪡AGSoft Text Concatenate X4
Concatenates 4 text strings with a configurable delimiter. Empty strings are ignored by default. --- Объединяет 4 текстовые строки с настраиваемым разделителем. Пустые строки игнорируются по умолчанию.
📝🪡AGSoft Text Concatenate X4
- STRING
◄text_1►
◄text_2►
◄text_3►
◄text_4►
◄reverse_orderfalse►
◄delimiter,►
◄custom_delimiter►
◄clean_whitespacetrue►
◄ignore_empty_stringstrue►
CategoryAGSoft/Text
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| text_1 | STRING | The 1st text string to concatenate. / 1-я текстовая строка для объединения. | |
| text_2 | STRING | The 2nd text string to concatenate. / 2-я текстовая строка для объединения. | |
| text_3 | STRING | The 3rd text string to concatenate. / 3-я текстовая строка для объединения. | |
| text_4 | STRING | The 4th text string to concatenate. / 4-я текстовая строка для объединения. | |
| reverse_order | BOOLEAN | false | If true, concatenates strings in reverse order (from last active input to first). Example: text_1='A', text_2='B', text_3='C' → result will be 'C, B, A' --- Если включено, объединяет строки в обратном порядке (от последнего активного входа к первому). Пример: text_1='A', text_2='B', text_3='C' → результат будет 'C, B, A' |
| delimiter | COMBO | , | The separator used between concatenated strings. Choose from presets or 'custom'. Presets: - 'custom' : Enter your own delimiter in the next field. Supports escape sequences: \n (newline), \t (tab), \r (carriage return). - ',' : Comma separator. - '.' : Period separator. - 'New Line' : Inserts a line break (\n) in the output. - 'New Line X2' : Inserts a blank line (\n\n) for visual spacing between paragraphs. - 'Space' : Inserts a single space character. - ';' : Semicolon separator. - '|' : Vertical bar separator. - ' - ' : Dash with spaces. - ' | ' : Pipe with spaces. - ' :: ' : Double colon with spaces. - ' >>> ' : Triple greater-than with spaces. - ' • ' : Bullet point with spaces. - ' — ' : Em dash with spaces. - ' ... ' : Ellipsis with spaces. --- Разделитель, используемый между объединяемыми строками. Выберите из предустановленных вариантов или 'custom'. Предустановленные значения: - 'custom' : Введите свой собственный разделитель в следующем поле. Поддерживает escape-последовательности: \n (перенос строки), \t (табуляция), \r (возврат каретки). - ',' : Запятая. - '.' : Точка. - 'New Line' : Вставляет перенос строки (\n) в выводе. - 'New Line X2' : Вставляет пустую строку (\n\n) для визуального разделения абзацев. - 'Space' : Вставляет один пробел. - ';' : Точка с запятой. - '|' : Вертикальная черта. - ' - ' : Дефис с пробелами. - ' | ' : Пайп с пробелами. - ' :: ' : Двойное двоеточие с пробелами. - ' >>> ' : Три знака больше с пробелами. - ' • ' : Эмодзи-точка с пробелами. - ' — ' : Длинное тире с пробелами. - ' ... ' : Многоточие с пробелами. |
| custom_delimiter | STRING | Enter a custom delimiter if 'custom' is selected above. Ignored otherwise. Supports escape sequences: \n (newline), \t (tab), \r (carriage return). Example: '\n\n' for blank line, ' | ', '---', or even an emoji like '⭐'. --- Введите пользовательский разделитель, если выше выбрано 'custom'. Игнорируется в противном случае. Поддерживает escape-последовательности: \n (перенос строки), \t (табуляция), \r (возврат каретки). Пример: '\n\n' для пустой строки, ' | ', '---', или даже эмодзи, например '⭐'. | |
| clean_whitespace | BOOLEAN | true | If true, removes leading and trailing whitespace from each input string before concatenation. Example: ' hello ' → 'hello' --- Если установлено, удаляет начальные и конечные пробелы из каждой входной строки перед объединением. Пример: ' hello ' → 'hello' |
| ignore_empty_strings | BOOLEAN | true | If true, empty strings (or strings that become empty after cleaning whitespace) will be ignored and not included in the final result. This includes strings containing only spaces, tabs, or newlines. --- Если установлено, пустые строки (или строки, которые становятся пустыми после очистки пробелов) будут проигнорированы и не будут включены в конечный результат. Это включает строки, состоящие только из пробелов, табуляций или переносов строк. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| STRING | STRING | Concatenated result of 4 input strings. / Результат объединения 4 входных строк. |