| [Overview][Constants][Types][Procedures and functions][Variables][Index] |
Removes leading and trailing spaces, and resolves special characters
Source position: lazfileutils.pas line 59
function TrimFilename( |
const AFilename: string |
):string; |
AFilename |
|
Path and file name for the operation |
New value for the path and file name
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 '//').
|
Removes duplicate path delimiters and resolves . and .. |
|
|
||
|
Removes whitespace and resolve special characters in the specified file name |
|
|
Removes whitespace and resolves special characters in the specified path |
|
|
Cleans and resolves a file path to the specified base directory name |
|
|
Cleans and resolves a relative path to a base directory |
| lazarus-ccr.sourceforge.net |