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

Returns true if the char on the given index of the given path is either "" or "/"

Syntax
Pascal
class function IsPathDelimiter(const pPath: string; pIndex: Integer): Boolean;
Parameters 
Description 
const pPath: string 
The path to check for the path delimiter in. 
pIndex: Integer 
The position on which to check, starting a 1 (not zero-based!). 

Boolean: True, if the char at the given index is a path delimiter (backslash or forward slash); False otherwise.

Unlike System.SysUtils.IsPathDelimiter(), this function regards also the forward slash as path delimiter, since on other systems (e.g. Linux) this is the case.