function ExtractFileName(const Value: String;
Delimiter: String=SLASH): String
The ExtractFileName function returns the file name, including the file extension, in the string input parameter. The return value will be a string containing the file name, if one exists.
Examples
X := ExtractFileName('https://www.elevatesoft.com/index.html'); // X is 'index.html'