mimeTheExtensionsOfMIMEType

Typefunction
Dictionarylibrary.mime
LibraryMIME Library
Syntax
mimeTheExtensionsOfMIMEType(<pMimeType>)
Associationscom.livecode.library.mime
Summary

List extensions that match a MIME type or MIME type wildcard pattern

Parameters
NameTypeDescription
pMIMEType

A MIME type or wildcard pattern for matching a MIME type

Example
put line 1 of mimeTheExtensionsOfMIMEType("application/epub+zip") into tExtension
put mimeTheExtensionsOfMIMEType("image/*") into tImageExtensions
Values
NameTypeDescription
return

A list of extensions or empty if none were found.

Description

List the extensions associated with a given MIME type or with a MIME type matching a wildcard pattern.