Returns the parent path of the given path.
- aPath (String)
- The path of a file or directory.
A String containing the parent path for aPath, or a null reference if aPath denotes a root directory.
The given for directories may or may not include a trailing path delimiter char, it will not have any influence on the result.