Returns the length of the substring that is the parent directory of the given path. If there is no parent directory, it will return 0. This function will include the trailing slash only if it is the root directory.
See Implementation
Returns the length of the substring that is the parent directory of the given path. If there is no parent directory, it will return 0. This function will include the trailing slash only if it is the root directory.