📜  powershell 变量到字符串 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:40.649000             🧑  作者: Mango

代码示例2
# cast your variable

$otherVar = 1
$myString = [string]$otherVar

# myString = "1"