You are not logged in.
Pages: 1
Function GetFileNameWithoutExt() in Unit SynCommons.
/// extract file name, without its extension
// - may optionally return the associated extension, as '.ext'
function GetFileNameWithoutExt(const FileName: TFileName; Extension: PFileName=nil): TFileName;
Arnaud, can you please add to the description that here path and filename is returned. The description "extract file name" made me think that I get the same result back as with the function ExtractFileName().
Or can you additionally add the function ExtractFileNameWithoutExt().
function ExtractFileNameWithoutExt(const pmcFileName: TFileName): TFileName;
begin
Result := ExtractFileName(GetFileNameWithoutExt(pmcFileName));
end;
With best regards
Thomas
Offline
Indeed.
Please check https://synopse.info/fossil/info/99dda8ea1a
Online
Pages: 1