The StringContains node checks if a given string contains a specified substring. It can perform this check with either case-sensitive or case-insensitive matching, returning a boolean result indicating whether the substring was found within the main string.

## Inputs

| Parameter | Description | Data Type | Required | Range |
| --- | --- | --- | --- | --- |
| `string` | The main text string to search within | STRING | Yes | - |
| `substring` | The text to search for within the main string | STRING | Yes | - |
| `case_sensitive` | Determines whether the search should be case-sensitive (default: true) | BOOLEAN | No | - |

## Outputs

| Output Name | Description | Data Type |
| --- | --- | --- |
| `contains` | Returns true if the substring is found in the string, false otherwise | BOOLEAN |

> 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/StringContains/en.md)

---
**Source fingerprint (SHA-256):** `9e85e51bc32c4041a66de8d5b11475aba3120eee1e8c5a37fedfaa470746888c`
