Nodes/ComfyUi-MpiNodes/Mpi Text Contains
ComfyUI Node

Mpi Text Contains

Check if any comma separated whole word is present in the input text. Use as a whitelist/blacklist check.

By MadPonyInteractive·Created 10 months ago·Updated 4 days ago· 2
Mpi Text Contains
    • boolean
    text
    words
    CategoryMpiNodes/Logic

    Inputs (2)

    NameTypeDefaultDescription
    textSTRING
    wordsSTRINGWords 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)

    NameTypeDescription
    booleanBOOLEAN