FOO="a b c" BAR="a;b;c" var nodejs = process.env.FOO.split(' '); var nodejs = process.env.BAR.split(';');