The Path class / os.Path methods |
Returns the character used in environment variables to separate path elements.
os.Path.pathseparator() RETURNING result STRING
You typically use this method to build a path from two components.
On UNIX™, the path separator is ':'.
On Windows™, the path separator is ';'.