FileData:getExtension

Available since LÖVE 0.7.0
This function is not supported in earlier versions.

Gets the extension of the FileData.

Function

Synopsis

ext = FileData:getExtension( )

Arguments

None.

Returns

string ext
The extension of the file the FileData represents.

See Also

Other Languages