GetExtensionForMimeType (open)
Get the proper or usual extension for the file's mimetype
Syntax
LOADLIB "wh::files.whlib";
STRING FUNCTION GetExtensionForMimeType(STRING mimetype)Parameters
STRING mimetypeMimetype
Return value
STRINGExtension (incliding the ".", eg ".jpg"), empty if no extension has been defined for this mimetype.