We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Home > [Scripting Reference](Scripting Reference) > path.getbasename
The path.getbasename function returns the base file portion of a path, with the directory and file extension removed.
#!lua p = path.getbasename("path")
path is the file system path to be split.
The base name portion of the supplied path, with any directory and file extension removed.