Utilities.ExtractFileExt Method

Applies to TestComplete 14.30, last modified on November 21, 2019
This method is obsolete. See the Remarks section below.

Description

The Utilities.ExtractFileExt method returns the extension of the given file name.

Declaration

Utilities.ExtractFileExt(FileName)

FileName [in]    Required    String    
Result String

Applies To

The method is applied to the following object:

Parameters

The method has the following parameter:

FileName

Specifies the file name from which the extension should be extracted.

Result Value

A string that holds the extension extracted from the specified file name. The period character that separates the name and extension parts is also included in the resulting string. If the given file name has no extension, the resulting string is empty.

Remarks

This method is obsolete. It is supported for backward compatibility only. To extract the extension from a file name, use the aqFileSystem.GetFileExtension method.

See Also

aqFileSystem.GetFileExtension Method
aqFileSystem.GetFileName Method
Name Property
aqFileSystem.GetFileFolder Method
aqFileSystem.GetFileFolder Method
Path Property
aqFileSystem.GetFileDrive Method
Drive Property
aqFileSystem.GetRelativePath Method
aqFileSystem.GetShortPathName Method
aqFileSystem.RenameFile Method

Highlight search results