<< fileparts Files and folders functions fullfile >>

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


A = filesep

See also


pathsep.

History


Version Description
1.0.0 initial version

Author


Allan CORNET

<< fileparts Files and folders functions fullfile >>