'use strict';

/**
* Platform-specific path delimiter.
*
* @module @stdlib/utils/path-delimiter
* @type {string}
*
* @example
* var isWindows = require( '@stdlib/utils/is-windows' );
* var PATH_DELIMITER = require( '@stdlib/utils/path-delimiter' );
*
* var PATH;
* var paths;
*
* if ( isWindows ) {
*     PATH = 'C:\\Windows\\system32;C:\\Windows;C:\\Program Files\\node\\';
*     paths = PATH.split( PATH_DELIMITER );
*     // returns ['C:\\Windows\\system32','C:\\Windows','C:\\Program Files\\node\\']
* } else {
*     PATH = '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin';
*     paths = PATH.split( PATH_DELIMITER );
*     // returns ['/usr/bin','/bin','/usr/sbin','/sbin','/usr/local/bin']
* }
*/

// MODULES //

var isWindows = require( '@stdlib/utils/is-windows' );
var PATH_DELIMITER_WIN32 = require( '@stdlib/utils/path-delimiter-win32' );
var PATH_DELIMITER_POSIX = require( '@stdlib/utils/path-delimiter-posix' );


// PATH_DELIMITERARATOR //

var PATH_DELIMITER;
if ( isWindows ) {
	PATH_DELIMITER = PATH_DELIMITER_WIN32;
} else {
	PATH_DELIMITER = PATH_DELIMITER_POSIX;
}


// EXPORTS //

module.exports = PATH_DELIMITER;

@@ -940,14 +940,8 @@
 ITER
-ARATOR
  //%0A

Fix heading