Довідка LibreOffice 25.8
Повертає залежний від операційної системи роздільник каталогів, що використовується у шляхах до файлів.
GetPathSeparator()
String
"\" Windows
"/" UNIX, включно з MacOS
Немає.
Sub ExampleGetPathSeparator
MsgBox GetPathSeparator()
End Sub
Wiser script instructions are available from Identifying the operating system help page.
• ScriptForge.Platform service provides a collection of properties about the current execution environment and context, that include platform detection.
• Extensive operating system name identification is available from INFO("system") Calc formula.