ExcludeTrailingBackslash

Strip trailing directory separator from a pathname, if needed.

Declaration

Source position: finah.inc line 36

  function ExcludeTrailingBackslash(const Path: UNICODESTRING)
                                    : UNICODESTRING;
  function ExcludeTrailingBackslash(const Path: RAWBYTESTRING)
                                    : RAWBYTESTRING;

Description

ExcludeTrailingBackslash is provided for backwards compatibility with Delphi. Use ExcludeTrailingPathDelimiter instead.

See also

Name Description
ExcludeTrailingPathDelimiter Strip trailing directory separator from a pathname, if needed.
IncludeTrailingPathDelimiter Add trailing directory separator to a pathname, if needed.
IsPathDelimiter Is the character at the given position a pathdelimiter ?
PathDelim Path (directory) delimiter.