GetPathSeparator - hossimo/GMA3Plugins GitHub Wiki
GetPathSeparator() : string
Brief:
Returns the path seperator based on what Operating system the console in running on.
Paramiters:
Name | Description | Optional |
---|
Returns:
pathSeperator : string "\" on Windows pathSeperator : string "/" on on *nix (and macOS)
Examples:
local sep = GetPathSeparator()
E(sep) -- "\\" if on Windows, "/" if on *nix