Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.comfy.org/llms.txt

Use this file to discover all available pages before exploring further.

This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
This node removes any extra spaces, tabs, or newlines from the beginning and end of a text string. It takes a text input and returns a cleaned version with the leading and trailing whitespace trimmed off.

Inputs

ParameterData TypeRequiredRangeDescription
textSTRINGYesN/AThe text string from which to remove leading and trailing whitespace.

Outputs

Output NameData TypeDescription
textSTRINGThe processed text with all leading and trailing whitespace characters removed.