Libre Libraries: GetPathSeparator function/text/sbasic/shared/GetPathSeparator.xhpGetPathSeparator functionGetPathSeparator FunctionReturn the operating system-dependent directory separator used to specify file paths.GetPathSeparator()String
"\" Windows
"/" UNIX, including MacOS
None.
Sub ExampleGetPathSeparator MsgBox GetPathSeparator()End Sub
It is recommended to use:
ConvertFromURL function to convert a file URL to system file name.
ConvertToURL function to convert a system file name to a file URL.
See also URL Notation