[Overview][Constants][Types][Procedures and functions][Variables][Index] |
True if the specified file name contains characters to remove or resolve before use.
Source position: lazfileutils.pas line 58
function FilenameIsTrimmed( |
const TheFilename: string |
):Boolean; |
StartPos: PChar; |
NameLen: Integer |
):Boolean; |
TheFilename |
|
File name to examine in the function. |
False when the file name needs to trimmed.
StartPos |
|
PChar with the file name value. |
NameLen |
|
Length of the file name. |
FilenameIsTrimmed is an overloaded Boolean function used to determine if the specified file name contains characters to remove or resolve before use. The variant which uses PChar values performs the comparison. The return value is False when the file name is a candidate for use of TrimFilename to remove whitespace or special characters.
Use TrimFilename to remove leading or trailing whitespace, duplicate directory separators, or relative path symbols.
Version 3.2 | Generated 2024-02-25 | Home |