filesep

Return the file separator character for the current platform.

📝 Syntax

  • res = filesep()

📤 Output argument

  • res - a string: '/' or ''

📄 Description

pathsep returns '' on Windows and '/' on others platforms.

💡 Example

 runnable="cli"A = filesep

🔗 See also

pathsep.

🕔 History

Version
📄 Description

1.0.0

initial version

Last updated

Was this helpful?