> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-docs-recommend-assets-api.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# StripWhitespace - ComfyUI Built-in Node Documentation

> Complete documentation for the StripWhitespace node in ComfyUI. Learn its inputs, outputs, parameters and usage.

> 本文档由 AI 生成。如果您发现任何错误或有改进建议，欢迎贡献！ [在 GitHub 上编辑](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/StripWhitespace/zh.md)

此节点会移除文本字符串开头和结尾的所有多余空格、制表符或换行符。它接收一个文本输入，并返回经过清理的版本，其中开头和结尾的空白字符已被修剪。

## 输入参数

| 参数     | 数据类型   | 必填 | 取值范围 | 描述                   |
| ------ | ------ | -- | ---- | -------------------- |
| `text` | STRING | 是  | N/A  | 需要移除开头和结尾空白字符的文本字符串。 |

## 输出结果

| 输出名称   | 数据类型   | 描述                       |
| ------ | ------ | ------------------------ |
| `text` | STRING | 处理后的文本，所有开头和结尾的空白字符已被移除。 |
