count

Basic data handling: StringCount

Counts occurrences of a substring within a string. This node returns the number of times the specified substring appears in the input string. You can optionally specify start and end positions to limit the search range.

Pack: Basic data handling

custom_nodes.ComfyUI-basic_data_handling

Inputs (4)

NameTypeRequired
stringSTRINGrequired
substringSTRINGrequired
startINToptional
endINToptional

Outputs (1)

NameType
INTINT