Unit 'fpmimetypes' Package
[Overview][Classes][Procedures and functions][Index] [#fcl]

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;

Arguments

E

  

semicolon separated list of extensions.

Function result

Next extension.

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

TFPMimeTypes.GetMimeExtensions

  

Get the extensions associated with a MIME type.


Documentation generated on: Dec 22 2024