[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'sysutils' (#rtl)

IncludeTrailingPathDelimiter

Add trailing directory separator to a pathname, if needed.

Declaration

Source position: finah.inc line 36

function IncludeTrailingPathDelimiter(

  const Path: String

):String;

Description

IncludeTrailingPathDelimiteradds a trailing path delimiter character (PathDelim) to Pathif none is present yet, and returns the result. If Pathis empty, nothing is added.

See also

IncludeTrailingBackslash

  

Add trailing directory separator to a pathname, if needed.

ExcludeTrailingPathDelimiter

  

Strip trailing directory separator from a pathname, if needed.

PathDelim

  

Path (directory) delimiter.

IsPathDelimiter

  

Is the character at the given position a pathdelimiter ?