io.extractFilename
Description
Get the filename segment only from a path string.

Parameters
fullPath string

Return value
filename string

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

Comments

See also
io.extractPath
io.getSpecialFolderPath

Back
Generated on the 26 June 2024 at 22:01:29 (UK Time)