RAD Studio VCL Reference
|
Ensures path name ends with delimiter.
function IncludeTrailingPathDelimiter(const S: string): string;
AnsiString IncludeTrailingPathDelimiter(const AnsiString S);
SysUtils
IncludeTrailingPathDelimiter ensures that a path name ends with a trailing path delimiter ('\" on Windows, '/' on Linux). If S already ends with a trailing delimiter character, it is returned unchanged; otherwise S with appended delimiter character is returned.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|