Table of Contents

TTMSFNCUtils.GetFileExtension Method

Returns the registered file extension for a MIME type.

API unit family: TMSFNCUtils Declaring type: TTMSFNCUtils

Syntax

class function GetFileExtension(AMime: string): string;

Parameters

Name Description
AMime MIME type to look up.

Returns

Extension without a leading dot, or an empty string when unknown.