Function: chext

Syntax

chext (<file>,<string>)

Type

string

Returns

Changes the extension on a file name and returns the changed name.

Parameters

Example

string newname = chext(myfile,'.dat')