os.Path.pathseparator

The os.Path.pathseparator method is used to return the path separator - the character used in environment variables to separate elements of the path. The syntax of the function is as follows:

 

CALL os.Path.pathseparator() RETURNING separator

 

where:

ยท         separator = a string containing the path separator:

o    : = on UNIX,

o    ; = on Windows.