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:

Parameters
path path The filesystem path.