System.SysUtils.IncludeTrailingBackslash

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

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.

Note: This function is included for backward compatibility only. System.SysUtils.IncludeTrailingPathDelimiter should be used instead.

IncludeTrailingBackslash ensures that a path name ends with the trailing path delimiter (PathDelim, '\' on Windows, '/' otherwise).

Note: IncludeTrailingBackslash works with multibyte character sets.

See Also