ComfyUI > Nodes > ComfyUI 1hewNodes > List Custom String

ComfyUI Node: List Custom String

Class Name

1hew_ListCustomString

Category
1hewNodes/text
Author
1hew (Account age: 1113days)
Extension
ComfyUI 1hewNodes
Latest Updated
2026-04-17
Github Stars
0.03K

How to Install ComfyUI 1hewNodes

Install this extension via the ComfyUI Manager by searching for ComfyUI 1hewNodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI 1hewNodes in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

List Custom String Description

Transforms text input into a list of trimmed strings, providing a count of generated items.

List Custom String:

The 1hew_ListCustomString node is designed to process a block of text input and transform it into a list of strings. This node is particularly useful for AI artists who need to manage and manipulate text data efficiently within their workflows. By taking a custom text input, the node splits the text into individual string items, ensuring that each item is neatly trimmed and formatted. This functionality is essential for tasks that require text parsing and organization, such as preparing data for further processing or analysis. The node also provides a count of the number of string items generated, offering a quick overview of the text's segmentation. This capability makes it a valuable tool for managing textual data in creative AI projects.

List Custom String Input Parameters:

custom_text

The custom_text parameter is the primary input for the 1hew_ListCustomString node. It accepts a block of text that you wish to process and split into a list of strings. This parameter is flexible, allowing for multiline input, which means you can input large paragraphs or multiple lines of text. The function of this parameter is to serve as the source material for the node's processing capabilities. The impact of the custom_text on the node's execution is significant, as it directly determines the content and number of items in the resulting string list. There are no strict minimum or maximum values for this parameter, but the default value is an empty string, which means if no text is provided, the node will return a default list containing a single item, "default".

List Custom String Output Parameters:

string_list

The string_list output parameter provides the list of strings generated from the custom_text input. Each item in this list is a segment of the original text, split and trimmed according to the node's processing logic. This output is crucial for tasks that require organized and accessible text data, as it allows you to easily iterate over or manipulate individual text items.

count

The count output parameter indicates the number of string items in the string_list. This count provides a quick reference to understand how many segments the original text was divided into. It is particularly useful for verifying the completeness of the text processing and ensuring that the expected number of items has been generated.

List Custom String Usage Tips:

  • To optimize the node's performance, ensure that your custom_text input is well-structured, with clear delimiters between items if you expect specific segmentation.
  • Use the count output to verify that the text has been split into the desired number of segments, which can help in debugging or refining your input text.

List Custom String Common Errors and Solutions:

Empty Input Error

  • Explanation: If the custom_text input is empty, the node defaults to returning a list with a single item, "default".
  • Solution: Ensure that you provide a meaningful text input to avoid default behavior and achieve the desired output.

Incorrect Delimiter Usage

  • Explanation: If the text is not properly delimited, the node may not split the text as expected.
  • Solution: Review your input text to ensure that it uses consistent and appropriate delimiters for the intended segmentation.

List Custom String Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI 1hewNodes
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

List Custom String