-
-
Notifications
You must be signed in to change notification settings - Fork 5
GetPathSeparator
Anthony Headley edited this page Apr 19, 2020
·
1 revision
Returns the path seperator based on what Operating system the console in running on.
Name | Description | Optional |
---|
pathSeperator : string "\" on Windows pathSeperator : string "/" on on *nix (and macOS)
local sep = GetPathSeparator()
E(sep) -- "\\" if on Windows, "/" if on *nix