DMM Studio 線上說明 › DMM Studio › 語言功能 › ExpandString
在指定字串中延伸所有環境並傳回結果。
包含環境變數的字串。
ExpandString(<字串>);
var result = ExpandString("%WinDir%")