endswith

Basic data handling: StringEndswith

Checks if a string ends with the specified suffix. This node tests whether the input string ends with a particular substring. Returns True if the string ends with the specified suffix, otherwise False. Optional start and end parameters allow you to check only a specific portion of the string.

Pack: Basic data handling

custom_nodes.ComfyUI-basic_data_handling

Inputs (4)

NameTypeRequired
stringSTRINGrequired
suffixSTRINGrequired
startINToptional
endINToptional

Outputs (1)

NameType
BOOLEANBOOLEAN