removeprefix

Basic data handling: StringRemoveprefix

Removes prefix from the string if present. This node returns a copy of the string with the specified prefix removed if the string starts with that prefix, otherwise returns the original string.

Pack: Basic data handling

custom_nodes.ComfyUI-basic_data_handling

Inputs (2)

NameTypeRequired
stringSTRINGrequired
prefixSTRINGrequired

Outputs (1)

NameType
STRINGSTRING