RAD Studio VCL Reference
|
Returns a path name without a trailing delimiter.
function ExcludeTrailingPathDelimiter(const S: string): string;
AnsiString ExcludeTrailingPathDelimiter(const AnsiString S);
SysUtils
ExcludeTrailingPathDelimiter returns S with any trailing path delimiter ('\' on Windows, '/' on Linux) removed. If the last character in S is a delimiter, the return value is S with the last character removed. Otherwise, S is returned unchanged.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|