ExpandEnvironmentVariables()

Environment::ExpandEnvironmentVariables(const String&) method

Replaces the names of environment variables found in the specified string with the values of those variables and returns the resulting string.

static String System::Environment::ExpandEnvironmentVariables(const String &name)

Arguments

ParameterTypeDescription
nameconst String&The string containing the names of environment varibles

Return Value

The string that results from replacing of the varibale names in name with their values.

See Also