Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!

ComfyUI Node: DP String Text

Class Name

DP String Text

Category
DP/text
Author
DesertPixelAi (Account age: 840days)
Extension
ComfyUI-Desert-Pixel-Nodes
Latest Updated
2025-06-22
Github Stars
0.03K

How to Install ComfyUI-Desert-Pixel-Nodes

Install this extension via the ComfyUI Manager by searching for ComfyUI-Desert-Pixel-Nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-Desert-Pixel-Nodes 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

DP String Text Description

Combines two text inputs into a formatted string, handling lists and appending commas as needed.

DP String Text:

The DP String Text node is designed to seamlessly combine two text inputs into a single cohesive string. This node is particularly useful when you need to concatenate text from different sources, ensuring that the resulting string is formatted correctly. It automatically handles cases where inputs might be lists by converting them into strings, and it also ensures that the secondary string input ends with a comma if it is not empty, providing a clean and organized output. This functionality is beneficial for AI artists who need to manage and manipulate text data efficiently, allowing for smooth integration of text elements in creative projects.

DP String Text Input Parameters:

Widget_Input

This parameter accepts a string or a list of strings that you want to include in the final output. If a list is provided, the elements are joined into a single string with spaces in between. This input is crucial as it forms the primary content of the resulting string. There are no specific minimum or maximum values, but it should be a valid string or list of strings.

String_01

This optional parameter allows you to provide an additional string or list of strings to be concatenated with the Widget_Input. If a list is provided, it is converted into a single string. If this input is not connected or is empty, only the Widget_Input will be returned. If provided, it ensures that the string ends with a comma, which helps in maintaining a structured format. There are no specific minimum or maximum values, but it should be a valid string or list of strings.

DP String Text Output Parameters:

TEXT

The output is a single string that combines the Widget_Input and String_01 inputs. If both inputs are empty, the output will be an empty string. If only Widget_Input is provided, it will be returned as is. If both inputs are provided, they are concatenated with String_01 ending with a comma, followed by Widget_Input. This output is essential for creating well-structured text data for further use in your projects.

DP String Text Usage Tips:

  • Ensure that your inputs are correctly formatted as strings or lists of strings to avoid unexpected results.
  • Use String_01 to prepend additional context or information to your main text input, ensuring it ends with a comma for better readability.
  • Utilize this node to manage and organize text data efficiently, especially when dealing with multiple text sources.

DP String Text Common Errors and Solutions:

Error in DP_String_Text: <error_message>

  • Explanation: This error occurs when there is an issue during the processing of the inputs, possibly due to incorrect data types or unexpected input values.
  • Solution: Verify that both Widget_Input and String_01 are either strings or lists of strings. Ensure that there are no incompatible data types being passed to the node.

DP String Text Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-Desert-Pixel-Nodes
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.

DP String Text