System.SysUtils.IncludeTrailingBackslash
From RAD Studio API Documentation
Delphi
function IncludeTrailingBackslash(const S: string): string;
C++
extern DELPHI_PACKAGE System::UnicodeString __fastcall IncludeTrailingBackslash(const System::UnicodeString S)/* overload */;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | System.SysUtils |
Description
Ensures that a path name ends with delimiter.
IncludeTrailingBackslash ensures that a path name ends with the trailing path delimiter ('\' on Windows, '/' on MAC OS).
Note: IncludeTrailingBackslash works with multi-byte character sets.
Note: This function is included for backward compatibility only. IncludeTrailingPathDelimiter should be used instead.