ExtractFileNameWithoutExt function
Gets the value from AFilename prior to the '.' character that starts the file extension.
Declaration
function ExtractFileNameWithoutExt(const AFilename: string): stringDescription
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.
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
