DMM Studio 联机帮助 › DMM Studio › 语言特征 › ExpandString
展开给定字符串的所有环境变量,然后返回结果。
包含环境变量的字符串。
ExpandString(<字符串>);
var result = ExpandString("%WinDir%")