std:std.filesystem.StripSlashes

Function StripSlashes:String( path:String )

Strips any trailing slashes from a filesystem path.

This function will not strip slashes from a root directory path.

Parameters
path path The filesystem path.