Returns the name of top-level file or directory of the absolute string path
Returns the name of top-level file or directory of the absolute string path
Examples:
basename("/a/b/") == "b" basename("/a/b") == "b" basename("/") == ""
a string path that matches the syntax of ZipFile entries.
Returns the parent directory of the absolute string path
Returns the parent directory of the absolute string path
Examples:
dirname("/a/b/") == "/a/" dirname("/a/b") == "/a/" dirname("/") == "/"
a string path that matches the syntax of ZipFile entries.
Returns file extension of this path, returns empty string if path has no extension