Visit ComfyUI Online for ready-to-use ComfyUI environment
Efficiently process and manipulate multiline text inputs for AI data preparation and cleaning.
The CR Multiline Text node is designed to process and manipulate multiline text inputs efficiently. This node is particularly useful for handling large blocks of text, allowing you to perform various operations such as removing specific characters, splitting strings, and converting text formats. It is an essential tool for AI artists who need to clean and prepare text data for further processing or analysis. The node ensures that the text is formatted correctly and unwanted characters are removed, making it easier to work with in subsequent nodes or applications.
This parameter accepts a multiline string input that you want to process. The text can contain multiple lines, and each line will be handled according to the specified operations. The default value is an empty string. This parameter is crucial as it serves as the primary data that the node will manipulate.
This optional parameter specifies characters that should be removed from the text. If provided, the node will strip these characters from each line of the input text. This is useful for cleaning up text data by removing unwanted symbols or characters.
This boolean parameter determines whether the text should be split into individual lines. If set to True, the text will be split based on newline characters. The default value is False. This parameter is useful when you need to process each line of the text separately.
This boolean parameter indicates whether the specified characters in chars_to_remove
should be removed from the text. If set to True, the node will remove these characters. The default value is False. This parameter is essential for cleaning up the text by removing specific unwanted characters.
This boolean parameter specifies whether the text should be converted from CSV format. If set to True, the node will interpret the text as CSV data and process it accordingly. The default value is False. This parameter is useful when working with text data that is originally in CSV format.
This optional parameter specifies the quote character used in the CSV data. The default value is a single quote ('
). This parameter is relevant only if convert_from_csv
is set to True and helps in correctly parsing the CSV data.
This output parameter returns the processed multiline text. The text will be formatted according to the specified input parameters, such as removing characters, splitting lines, or converting from CSV. This output is essential for further text processing or analysis.
This output parameter provides a URL to the documentation or help page for the CR Multiline Text node. The URL is "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki/Other-Nodes#cr-multiline-text". This is useful for users who need additional information or guidance on using the node.
remove_chars
parameter to True and specify the characters to remove in the chars_to_remove
parameter.split_string
parameter to split the text into individual lines.convert_from_csv
parameter to True and specify the appropriate csv_quote_char
to ensure correct parsing.start_index
parameter is set to a value greater than the number of lines in the text.start_index
is within the bounds of the text lines. Adjust the start_index
to a valid value.start_index
or max_rows
.text
parameter is provided with a valid multiline string. Initialize the text input correctly before processing.© Copyright 2024 RunComfy. All Rights Reserved.