Checks whether the given fullpath or filename has the given extension.
function HasFileExtension(const Path: string; Extension: string): Boolean;
Parameters |
Description |
const Path: string |
The fullpath or filename that is to be checked. |
Extension: string |
The extension that is to be checked. |
True if the given path or filename has the given extension.