User Tools

Site Tools


syntax:functions:directory

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

syntax:functions:directory [2018/06/11 11:20] (current)
dmitry created
Line 1: Line 1:
 +===== 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 11:20 by dmitry