fileExtension function

string fileExtension(filePath)

filePath string

Returns the file extension ("suffix") of the given file filePath.

This function returns file extension ("suffix") of the given file filePath.

Related

Examples

fileExtension("assets/obj/mygeometry.01.obj")
# result = "obj"