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

# TruncateText - ComfyUI Built-in Node Documentation

> Complete documentation for the TruncateText 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/TruncateText/en.md)

이 노드는 지정된 최대 길이에서 텍스트를 잘라내어 단축합니다. 입력 텍스트를 받아 설정한 문자 수까지만 첫 부분을 반환합니다. 텍스트가 특정 크기를 초과하지 않도록 하는 간단한 방법입니다.

## 입력

| 매개변수         | 설명                                           | 데이터 타입 | 필수 여부 | 범위       |
| ------------ | -------------------------------------------- | ------ | ----- | -------- |
| `text`       | 잘라낼 텍스트 문자열입니다.                              | STRING | 예     | 해당 없음    |
| `max_length` | 최대 텍스트 길이입니다. 이 문자 수 이후로 텍스트가 잘립니다(기본값: 77). | INT    | 예     | 1\~10000 |

## 출력

| 출력 이름    | 설명                                        | 데이터 타입 |
| -------- | ----------------------------------------- | ------ |
| `string` | 잘라낸 텍스트로, 입력에서 처음 `max_length` 문자만 포함합니다. | STRING |

> 이 문서는 AI에 의해 생성되었습니다. 오류를 발견하거나 개선 제안이 있으시면 기여해 주세요! [GitHub에서 편집](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/TruncateText/ko.md)

***

**Source fingerprint (SHA-256):** `271a77a910967c4fd86a07485449679fb8db89f6b3f2bf0a8fa2ff224ea2f7b2`
