ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
Jam.Shell.PathUtils.TPathUtils.ExcludeTrailingPathDelimiter

Removes the last character from the given path if it is a path delimiter.

Syntax
Pascal
class function ExcludeTrailingPathDelimiter(const pPath: string): string; static;
Parameters 
Description 
const pPath: string 
The path to exclude the path delimiter from. 

string: The path without trailing path delimiter

Considered as valid path delimiters is either "" or "/"