RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.IncludeTrailingBackslash Function

Ensures path name ends with delimiter

Pascal
function IncludeTrailingBackslash(const S: string): string; overload; platform;
C++
AnsiString IncludeTrailingBackslash(const AnsiString S);

IncludeTrailingBackslash ensures that a path name ends with a trailing path delimiter ('\" on Windows, '/' on Linux). This function is included for backward-compatibility only. New programs should use IncludeTrailingPathDelimiter.

Note: IncludeTrailingBackslash works with multibyte character sets.
 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!