std.filesystem.StripSlashes - nitrologic/monkey2 GitHub Wiki
std::std.filesystem.StripSlashes
Function StripSlashes:monkey:monkey.types.String( path:monkey:monkey.types.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. |