Syntax
- string fileExtension(filePath)
Parameters
- filePath—string
Returns
Returns file extension ("suffix") of given file filePath.
Description
The fileExtension function returns file extension ("suffix") of the given file filePath.
Related
Examples
fileExtension("assets/obj/mygeometry.01.obj")
# result = "obj"