Visit ComfyUI Online for ready-to-use ComfyUI environment
Advanced string manipulation node for AI artists, offering customizable text splitting and joining capabilities with various modes and ordering options.
The JDCN_StringManipulator node is designed to provide advanced string manipulation capabilities, allowing you to split, select, and join text based on various criteria. This node is particularly useful for AI artists who need to process and transform text data in creative ways. By leveraging different separators and joiners, you can customize how text is divided and recombined, making it easier to manage and manipulate large blocks of text. The node supports multiple modes of operation, including fixed, incremental, decremental, and random index changes, as well as different ordering options for selecting text segments. This flexibility makes it a powerful tool for text-based data manipulation in your AI art projects.
This parameter accepts the input text that you want to manipulate. It supports multiline input and has a default value of "concept". The text will be split based on the specified separator.
This integer parameter specifies the starting index for text selection. It has a default value of 0 and a minimum value of 0. The index determines where the selection of text segments begins.
This parameter defines how the index should be modified. It offers four options: fixed, increment, decrement, and random. The choice of index change affects how the text segments are selected during processing.
This parameter specifies the order in which text segments are selected. It offers three options: toptobottom, bottomtotop, and random. The order determines the sequence in which text segments are processed.
This parameter defines the character used to split the input text. It offers a variety of options, including Comma, Semicolon, Pipe, Hyphen, Colon, Period, Question Mark, Exclamation Mark, Space, Tab, Newline, Carriage Return, Form Feed, Vertical Tab, and Custom. If Custom is selected, the custom_separator parameter will be used.
This string parameter specifies a custom separator to be used if the separator parameter is set to Custom. The default value is "NA".
This integer parameter defines the number of text segments to be selected in each batch. It has a default value of 1 and a minimum value of 1. The batch size determines how many segments are processed at a time.
This parameter defines the character used to join the selected text segments. It offers the same options as the separator parameter. If Custom is selected, the custom_joiner parameter will be used.
This string parameter specifies a custom joiner to be used if the joiner parameter is set to Custom. The default value is "NA".
This boolean parameter determines whether a space should be added before the joiner character. It has a default value of False.
This output parameter returns the manipulated text after the selected segments have been joined together. It reflects the final result of the string manipulation process.
This output parameter returns the starting index used for selecting text segments. It helps you understand where the selection began.
This output parameter returns the ending index after the batch of text segments has been selected. It indicates the range of the selected segments.
This output parameter returns the batch size used during the text manipulation process. It confirms the number of segments that were processed at a time.
separator parameter to Custom and provide the desired character in the custom_separator parameter.order parameter to control the sequence of text segment selection, which can be useful for creating varied text patterns.joiner parameter to Custom and provide the desired character in the custom_joiner parameter.space_before_join parameter to add a space before the joiner character, which can improve readability in some cases.index parameter is within the valid range of the text segments. Adjust the index or batch_size parameters to avoid exceeding the text length.separator is set to Custom, but the custom_separator parameter is not provided or is invalid.custom_separator parameter when using the Custom option for the separator.joiner is set to Custom, but the custom_joiner parameter is not provided or is invalid.custom_joiner parameter when using the Custom option for the joiner.RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.