splitext

Basic data handling: PathSplitExt

Splits a path into name and extension components. This node takes a path and returns a tuple containing the path without the extension and the extension (including the dot).

Pack: Basic data handling

custom_nodes.ComfyUI-basic_data_handling

Inputs (1)

NameTypeRequired
pathSTRINGrequired

Outputs (2)

NameType
path without extSTRING
extensionSTRING