Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Returns file extension for given mime type.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Text | 5.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
MimeType | The mime type to lookup. | "application/pdf" |
Returns text or error.
Checks for PDF:
MBS( "Text.MimeTypeToFileExtension"; "application/pdf" )
Example result: .pdf
This function is free to use.
Created 2nd October 2015, last changed 11st December 2016