Modding Tools > Lucas' Simpsons Hit & Run Mod Launcher > Hacks > Mod Requirable Hacks > Custom Files > Custom Lua Functions > General Functions > GetFileExtension

GetFileExtension

Returns the file extension of the specified path.

Syntax

GetFileExtension( <path> )
  • path: The path or filename of the file you want to get the extension of.

Examples

-- Returns ".mfk"
GetFileExtension("example.mfk")

Notes

No additional notes.

Version History

Unknown Version

Added this function.

Donut Team © 2023 · v4.0