通过Powershell赋值完成字符连接

2024-10-31 12:10:02

1、打开Windows Powershell程序窗口;

通过Powershell赋值完成字符连接

3、再运行 $b="world" ;

通过Powershell赋值完成字符连接

5、如果我们准备输出hello world,其实很简单,将语句转换成 $a+" "+$b,即可输出相应的内容;

通过Powershell赋值完成字符连接
猜你喜欢