ShellBrowser Delphi Edition Documentation
ContentsIndexHome
PreviousUpNext
HasFileExtension Function

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

Syntax
Pascal
function HasFileExtension(const Path: UnicodeString; Extension: UnicodeString): Boolean;
Parameters 
Description 
const Path: UnicodeString 
The fullpath or filename that is to be checked. 
Extension: UnicodeString 
The extension that is to be checked. 

Boolean

Copyright (c) 2011. All rights reserved.