---
layout: page
title: "Contains Text"
node_type: "nodetool.text.Contains"
namespace: "nodetool.text"
---

**Type:** `nodetool.text.Contains`

**Namespace:** `nodetool.text`

## Description

Checks if text contains a specified substring.
    text, check, contains, compare, validate, substring, string

    Use cases:
    - Searching for keywords in text
    - Filtering content based on presence of terms
    - Validating text content

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|----------|
| text | `str` |  | `` |
| substring | `str` |  | `` |
| case_sensitive | `bool` |  | `True` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| output | `bool` |  |

## Metadata

## Related Nodes

Browse other nodes in the [nodetool.text](../) namespace.

