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

# StringReplace - ComfyUI Built-in Node Documentation

> The StringReplace node performs text replacement operations on input strings.

The StringReplace node performs text replacement operations on input strings. It searches for a specified substring within the input text and replaces all occurrences with a different substring. This node returns the modified string with all replacements applied.

## Inputs

| Parameter | Description | Data Type | Required | Range |
| - | - | - | - | - |
| `string` | The input text string where replacements will be performed | STRING | Yes | - |
| `find` | The substring to search for within the input text | STRING | Yes | - |
| `replace` | The replacement text that will substitute all found occurrences | STRING | Yes | - |

## Outputs

| Output Name | Description | Data Type |
| - | - | - |
| `output` | The modified string with all occurrences of the find text replaced by the replace text | STRING |

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/StringReplace/en.md)

***

**Source fingerprint (SHA-256):** `7f384aff132eb6919b58f04163c4611a7b5545e1af9217f9aca60dc416c06d60`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.