GetDirectoryFromPath
Retrieves the directory parent of a path
Method Signature
GetDirectoryFromPath(path=[string])
Arguments
Argument
Type
Required
Description
Default
path
string
true
The path to extract the parent directory from
Examples
Basic Example
getDirectoryFromPath( "C:\temp\file.txt" );
Result: C:\temp\
Additional Examples
some_directory = getDirectoryFromPath( "path" );
dump( some_directory );
Related
Last updated
Was this helpful?