Icon ExtractFileExt

Unit: WebCore

Available In: Client and Server Applications

function ExtractFileExt(const Value: String): String

The ExtractFileExt function returns the file extension, including the period (.) file extension delimiter, in the string input parameter. The return value will be a string containing the file extension, if one exists.

Examples

X := ExtractFileExt('https://www.elevatesoft.com/index.html');  // X is '.html'
Image