Path Delimiter

POSIX path delimiter.

Usage

var PATH_DELIMITER_POSIX = require( '@stdlib/constants/path/delimiter-posix' );

PATH_DELIMITER_POSIX

POSIX path delimiter.

var delimiter = PATH_DELIMITER_POSIX;
// returns ':'

Examples

var PATH_DELIMITER_POSIX = require( '@stdlib/constants/path/delimiter-posix' );

var PATH = '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin';
var paths = PATH.split( PATH_DELIMITER_POSIX );
// returns ['/usr/bin','/bin','/usr/sbin','/sbin','/usr/local/bin']
Did you find this page helpful?