Pascal Scripting: ChangeFileExt

Prototype

function ChangeFileExt(const FileName, Extension: String): String;

Description

Takes the file name passed in FileName and changes the extension of the file name to the extension passed in Extension.