Visit ComfyUI Online for ready-to-use ComfyUI environment
Converts string of numbers to list format for easier manipulation, sanitizing input for clean data processing.
The NumbersToList
node is designed to convert a string of numbers into a list format, making it easier to handle and manipulate numerical data within your workflow. This node is particularly useful when you have a sequence of numbers separated by specific delimiters and need to process them as individual elements in a list. By sanitizing the input string and removing any invalid characters or duplicates, the NumbersToList
node ensures that the resulting list is clean and ready for further operations. This functionality is essential for tasks that require numerical data to be in a structured list format, such as mathematical computations, data analysis, or graphical plotting.
The numbers
parameter is a string input that contains the sequence of numbers you wish to convert into a list. This string can include various delimiters such as semicolons, colons, and mathematical operators. The node will sanitize this input by removing any invalid characters and duplicates, ensuring that the resulting list is clean and accurate. There are no specific minimum or maximum values for this parameter, but it should be formatted correctly to ensure proper conversion.
The list
output parameter is the resulting list of numbers obtained from the sanitized input string. This list contains individual numerical elements that can be used for further processing or analysis. The list is generated by splitting the sanitized string based on the specified delimiters, ensuring that each number is correctly isolated and included in the list.
The size
output parameter indicates the number of elements in the resulting list. This value is useful for understanding the length of the list and can be used in subsequent operations that require knowledge of the list's size.
© Copyright 2024 RunComfy. All Rights Reserved.