RAD Studio VCL Reference
|
Change filename extension.
function ChangeFileExt(const FileName: AnsiString; const Extension: AnsiString): AnsiString; overload;
AnsiString ChangeFileExt(const AnsiString FileName, const AnsiString Extension);
ChangeFileExt changes a filename's extension. FileName specifies a filename with or without an extension, and Extension specifies the new extension for the filename. The new extension can be an empty AnsiString or a period followed by the extension character string.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|