[Overview][Constants][Types][Procedures and functions][Variables][Index] |
Gets the value from AFilename prior to the '.' character that starts the file extension.
Source position: lazfileutils.pas line 44
function ExtractFileNameWithoutExt( |
const AFilename: string |
):string; |
AFilename |
|
Qualified path and file name examined in the method. |
File name (including path) after the file extension has been removed.
Processes characters in AFilename in reverse order to locate the '.' that starts the file extension. If a '.' character is not found, the process continues until a path or directory delimiter is found. The return value defaults to AFilename if a path or directory delimiter occurs before a '.' character.
Version 3.2 | Generated 2024-02-25 | Home |