「PowerShell」文字列連結のサンプル
書式
echo(文字列A + 文字列B)
サンプルコード
$cftB =' skill ' $cftC = " in arkgame.com" echo ($cftA + $cftB) echo ($cftB + $cftC) echo ($cftA + $cftC)
実行結果
> .\test.ps1
study skill
skill in arkgame.com
study in arkgame.com
Coding Changes the World
書式
echo(文字列A + 文字列B)
サンプルコード
$cftB =' skill ' $cftC = " in arkgame.com" echo ($cftA + $cftB) echo ($cftB + $cftC) echo ($cftA + $cftC)
実行結果
> .\test.ps1
study skill
skill in arkgame.com
study in arkgame.com