Utilities.ExtractFileExt Method

Applies to TestComplete 14.40, last modified on April 22, 2021
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

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

Highlight search results