IsPathDelimiter checks within the parameter S for the character at the position given in Index, to determine if it is a path delimiter.
Declaration: Function IsPathDelimiter(const S : string; Index : Integer) : Boolean
A single example that would fail and return false if the path is "C:\Program Files...".
The following illustrates more examples.