Home > [Scripting Reference](Scripting Reference) > path.getextension
The path.getextension function returns the file extension portion of a path.
#!lua p = path.getextension("path")
path is the file system path to be split.
The file extension portion of the path, or an empty string if no extension is present.
There was an error while loading. Please reload this page.