|-
| '''Summary'''
|Returns the name of a file or directory specified by {{Code|$path}}. An empty string is returned if the path points to the root directory, or if it contains no directory separators.
|}
|-
| '''Summary'''
|Returns the absolute path to the parent directory of a file or directory specified by {{Code|$path}}. An empty sequence is returned if the path points to a root directory, or if it contains no directory separators.<br />
|-
| '''Examples'''