LibreOffice 24.8 Help
Returns the operating system-dependent directory separator used to specify file paths.
GetPathSeparator()
String
"\" Windows
"/" UNIX, including MacOS
None.
D'oh! You found a bug (text/sbasic/shared/00000003.xhp#err5 not found).
Sub ExampleGetPathSeparator MsgBox GetPathSeparator() End Sub
Related Topics
It is recommended to use:
ConvertFromURL function to convert a file URL to a system file name.
ConvertToURL function to convert a system file name to a file URL.
See also URL Notation
Please support us!