io.extractPath
Description
Remove filename segment from a path string.

Parameters
fullPath string

Return value
path string

Example
print(io.extractPath("C:\\Some Folder\\Some Subfolder\\filename.txt"))

Comments

See also
io.extractFilename
io.getSpecialFolderPath

Back