rstrip

Basic data handling: StringRstrip

Removes trailing characters from the string. This node returns a copy of the string with trailing characters removed. If chars is provided, it specifies the set of characters to be removed. If chars is not provided, whitespace characters are removed.

Pack: Basic data handling

custom_nodes.ComfyUI-basic_data_handling

Inputs (2)

NameTypeRequired
stringSTRINGrequired
charsSTRINGoptional

Outputs (1)

NameType
STRINGSTRING