IStr pathDirName(IStr path, PathSepStyle style = PathSepStyle.native)
Returns the directory of the path, or "." if there is no directory.