PathSeparator Procedure
Returns the path separator character, which depends on the user's operating system.
To combine path components with the path separator, consider using
PathCombine instead.
On Linux, this is
/.
An example Linux path is
/home/user/file.txt.
On macOS, this is
/.
An example macOS path is
/Users/user/Documents/file.txt.
On Windows, this is
\.
An example Windows path is
C:\Users\user\Documents\file.txt.
Declaration
function PathSeparator() as String
Return value
String — Path separator character.
Example
Code
dim x = "A" + PathSeparator() + "B"
print x
Output