separator

function separator() --> sep

Description

Returns the path separator for the current platform.

Return Values

sep

Path separator for the current platform. "\\" on windows and "/" on unix systems.

Code

--ZFUNC-separator-v1
local function separator() --> sep
   return _G.package.config:sub( 1, 1 )
end

return separator