Skip to content

TFPMimeTypes.GetNextExtension

Extract an extension from an extension list as returned by GetMimeExtensions.

Declaration

Source position: fpmimetypes.pp line 69

public 
class function TFPMimeTypes.GetNextExtension(var E: string) : string;

Description

GetNextExtension is a helper function that extracts adn returns the next extension from the semicolon separated list of extensions E and removes the extension from the list. If there is no more extension, the empty string is return.

See also

Name Description
TFPMimeTypes.GetMimeExtensions Get the extensions associated with a MIME type.