
delphi path function
IncludeTrailingPathDelimiter
IncludeTrailingPathDelimiter ensures that a path name ends with a trailing path delimiter (PathDelim, '\' on Windows, '/' otherwise). IfS
already ends with a trailing delimiter character, it is returned unchanged; otherwise,S
with an appended delimiter character is returned.
确保路径有个结束符号斜杠