TrimFilename function
Removes leading and trailing spaces, and resolves special characters.
Declaration
function TrimFilename(const AFilename: string): stringArguments
AFilename | Path and file name for the operation. |
Function result
New value for the path and file name.
Description
TrimFilename is a
String function used to remove
leading and trailing spaces (Decimal 32) in the specified path and file name.
In addition, ResolveDots is called to expand directory characters (like '.'
and '..') and to remove duplicate path delimiters (like '//').See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
