Extracts a directory from an absolute path. Returns the absolute path with a trailing slash and omits the filename.
getDirectoryFromPath(path)
returns string
Name | Type | Required | Default | Description |
---|---|---|---|---|
path | string | Yes |
getDirectoryFromPath("C:\temp\file.txt")