Std filesystem extractrootdir
std:std.filesystem.ExtractRootDir
Function ExtractRootDir:String( path:String )#
Extracts the root directory from a file system path.
A root directory is a directory path that:
-
Starts with '//' or '/', or...
-
Starts with 'blah:/', 'blah://' or 'blah::'.
Parameters | |
---|---|
path |
path The filesystem path. |