> ## 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.

# StripWhitespace - ComfyUI Built-in Node Documentation

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

此节点用于移除文本字符串开头和结尾的所有多余空格、制表符或换行符。它接收文本输入，并返回经过清理、去除首尾空白字符的版本。

## 输入

| 参数     | 描述                | 数据类型   | 是否必填 | 范围  |
| ------ | ----------------- | ------ | ---- | --- |
| `text` | 需要移除首尾空白字符的文本字符串。 | STRING | 是    | 不适用 |

## 输出

| 输出名称 | 描述                 | 数据类型   |
| ---- | ------------------ | ------ |
| `文本` | 已移除所有首尾空白字符的已处理文本。 | STRING |

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

***

**Source fingerprint (SHA-256):** `5b86f71c842a89fe42119593a8bfd30ea441cd02e35356f431ebfdda8010e58d`
