filesep
Platform-specific path separator.
Syntax
Section titled “Syntax”c = filesepDescription
Section titled “Description”Returns the file-path separator for the current platform — '\' on Windows, '/' on POSIX (Linux, macOS). Use to build paths in a portable way.
Examples
Section titled “Examples”filesep % '\\' (Windows) or '/' (Unix)['data' filesep 'input.csv']