Open this example in the interactive library
Source code
import { win32 as path } from "node:path";
console.log("C:/bin;D:/tools".split(path.delimiter));
Sample output
[ 'C:/bin', 'D:/tools' ]

Open this example in the interactive library
import { win32 as path } from "node:path";
console.log("C:/bin;D:/tools".split(path.delimiter));
[ 'C:/bin', 'D:/tools' ]