Std filesystem stripdir
std:std.filesystem.StripDir
Function StripDir:String( path:String )#
Strips the directory component from a filesystem path.
If path
is a root directory an empty string is returned.
If path
does not contain a directory component, path
is returned without modification.
Parameters | |
---|---|
path |
path The filesystem path. |