ComfyUI Node

in (contains)

Checks if a string contains a specified substring. This node implements the 'in' operator for strings. It checks whether the given substring exists within the input string. Returns True if the substring is found, otherwise False.

By StableLlama·Created about a year ago·Updated 25 days ago· 45
in (contains)
    • BOOLEAN
    string
    substring
    CategoryBasic/STRING

    Inputs (2)

    NameTypeDefaultDescription
    stringSTRING
    substringSTRING

    Outputs (1)

    NameTypeDescription
    BOOLEANBOOLEAN