SetFileExtension( string file, string extension ) return integer

This method allow you to set the extension of a file using a concise and easy to read syntax:

string ls_filename
if #.CheckFileExtension( ls_filename, ".INI" ) = false then
    #.SetFileExtension( ls_filename, ".INI" ) 
end if

See also:

Last edited Jul 3, 2015 at 9:37 AM by domangep, version 3