startswith

Basic data handling: StringStartswith

Checks if a string starts with the specified prefix. This node tests whether the input string starts with a particular substring. Returns True if the string starts with the specified prefix, 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
prefixSTRINGrequired
startINToptional
endINToptional

Outputs (1)

NameType
BOOLEANBOOLEAN