[Overview][Constants][Types][Procedures and functions][Variables][Index] |
Gets a shortened version of the specified file name up to a maximum length.
Source position: lazfileutils.pas line 74
function ShortDisplayFilename( |
const aFileName: string; |
aLimit: Integer = 80 |
):string; |
aFileName |
|
File name examined in the routine. |
aLimit |
|
Maximum number of characters for the shortened file name. |
Shortened version of the specified file name.
ShortDisplayFilename is a String function used to get a shortened version of the specified file name up to the specified maximum length. The characters '...' are appended to a shortened file name.
Remark: | These are three (3) Period characters and not an Ellipsis character. |
The return value is the same as the aFileName argument if the file name did not need to be shortened.
Version 3.2 | Generated 2024-02-25 | Home |