---
title: "Filter String"
description: "Local-first visual environment for building and running AI workflows. Build agents visually, deploy anywhere, privacy by design."
canonical: https://docs.nodetool.ai/nodes/nodetool/text/filterstring
markdown: https://docs.nodetool.ai/nodes/nodetool/text/filterstring.md
product: NodeTool
source: https://github.com/nodetool-ai/nodetool/blob/main/docs/nodes/nodetool/text/filterstring.md
---

# Filter String

**Type:** `nodetool.text.FilterString`

**Namespace:** `nodetool.text`

## Description

Filters a stream of strings based on various criteria.
    filter, strings, text, stream

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| value | `str` | Input string stream | `` |
| filter_type | `enum` | The type of filter to apply | `contains` |
| criteria | `str` | The filtering criteria (text to match or length as string) | `` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| output | `str` |  |

## Related Nodes

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