Replaces the name of each environment variable embedded in the specified string with the string equivalent of the value of the variable.
Parameters
char[] name
A string containing the names of zero or more environment variables. Environment variables are quoted with the percent sign.
Returns
A string with each environment variable replaced by its value.
Examples
writefln(expandEnvironmentVariables("My system drive is %SystemDrive% and my system root is %SystemRoot%"));