in (contains)

Basic data handling: StringIn

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.

Pack: Basic data handling

custom_nodes.ComfyUI-basic_data_handling

Inputs (2)

NameTypeRequired
stringSTRINGrequired
substringSTRINGrequired

Outputs (1)

NameType
BOOLEANBOOLEAN