Skip to main content

Module path

Module path 

Source

Structsยง

BasenameFunction
BASENAME - last component of a path (file name with extension)
DirnameFunction
DIRNAME - everything except the last component
ExtensionFunction
EXTENSION - file extension (without leading dot)
PathDepthFunction
PATH_DEPTH - number of components in the path
PathPartFunction
PATH_PART - nth component (1-based; negative = from end, -1 = last)
StemFunction
STEM - file name without extension