Sign in Join
FPDoc Onlineexperiment

ExcludeTrailingPathDelimiter function

In unit sysutils

Strip trailing directory separator from a pathname, if needed.

Declaration

pascal
function ExcludeTrailingPathDelimiter(const Path: UnicodeString)
: UnicodeString

Description

ExcludeTrailingPathDelimiter removes the trailing path delimiter character ( PathDelim) from Path if it is present, and returns the result.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.