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

ExtractFileNameWithoutExt

ExtractFileNameWithoutExt - returns just the name of the file without an extension

Declaration

Source position: fileutil.pas line 81

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

The latest version of this document can be found at lazarus-ccr.sourceforge.net.