ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
ShellBrowser.HasFileExtension

Checks whether the given fullpath or filename has the given extension.

Syntax
Pascal
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.