Extracts the file name extension from the passed string.
variable = object.GetExtensionName(path)
path - file/directory specification
returned value - The extension of the file/directory name
from the passed path (if any).
The file name extension is the portion of the file name after the
last "." character in the last file or directory name in
the path. The path parameter can be full path, relative path
or file/directory name only. If no extension presents an empty
string will be returned.
In most cases directories are named not using extensions in their
names. However "name extension" term is applicable for
them as well - and can be quite useful for certain applications.
Applies to: SFMain
Windows 95/NT and later
Windows CE 3.0 and later
Pocket PC/Windows Mobile 2003 and later
Windows CE.NET 4 and later