User Tools

Site Tools


syntax:functions:directory

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.txt · Last modified: 2018/06/11 07:20 by dmitry