ComfyUI Node
Mpi Text Contains
Check if any comma separated whole word is present in the input text. Use as a whitelist/blacklist check.
Mpi Text Contains
- boolean
◄text—►
◄words►
CategoryMpiNodes/Logic
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| text | STRING | — | |
| words | STRING | Words or phrases to look for inside text, separated by commas or new lines. Case-insensitive, whole words only ('cat' matches 'cat' and 'cats' but not 'catalogue'). Phrases ignore spacing, so 'bird in a tree' matches across line breaks. Irregular plurals (child/children) need their own entry. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| boolean | BOOLEAN | — |