basename

Basic data handling: PathBasename

Returns the base name of a path. This node extracts the filename component from a path, removing any directory information.

Pack: Basic data handling

custom_nodes.ComfyUI-basic_data_handling

Inputs (1)

NameTypeRequired
pathSTRINGrequired

Outputs (1)

NameType
basenameSTRING