[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'FileUtil' (#lazutils)

ExtractFileNameWithoutExt (deprecated)

Returns the file name without a file extension.

Declaration

Source position: fileutil.pas line 68

function ExtractFileNameWithoutExt(

  const AFilename: string

):string;

Arguments

AFilename

  

The name of the file for checking.

Function result

Returns the original file name if it had no extension, otherwise returns the file name with its extension removed.