getDirectoryFromPath

Extracts a directory from an absolute path. Returns the absolute path with a trailing slash and omits the filename.

getDirectoryFromPath(path) → returns String

Argument Reference for the getDirectoryFromPath function

Name Required Default Description
path Yes

Fork me on GitHub