os.Path.separator

The os.Path.separator method is used to return the character thatseparates path segments. The syntax of the function is as follows:

 

CALL os.Path.separator() RETURNING separator

 

where:

ยท         separator contains the separator:

/ = on UNIX,

o    \ = on Windows.