syntax:functions:directory
This is an old revision of the document!
directory(text)
Extracts the full directory path from a full file path.
Example | Result | Notes |
---|---|---|
directory('C:\Documents\myproject.morph') | C:\Documents | No trailing backslash for non-root paths. |
directory('C:\myproject.morph') | C:\ | Root paths have a backslash |
syntax/functions/directory.1528716027.txt.gz · Last modified: 2018/06/11 07:20 by dmitry