SysUtils.IncludeTrailingPathDelimiter

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From SysUtils.pas

	function IncludeTrailingPathDelimiter(const S: string): string; overload;


Unit: SysUtils

Type: function

Visibility: public

C++ Information

From SysUtils.hpp

	System::UnicodeString __fastcall IncludeTrailingPathDelimiter(System::UnicodeString S);


Unit: SysUtils

Type: function

Description

Ensures that path name ends with delimiter.


IncludeTrailingPathDelimiter ensures that a path name ends with a trailing path delimiter ('\" on Windows, '/' on Linux and Macintosh). If S already ends with a trailing delimiter character, it is returned unchanged; otherwise S with appended delimiter character is returned.

Note:  IncludeTrailingPathDelimiter works with multibyte character sets.

See Also

Personal tools
Translations
Newest Version