powershell string concatenation code example
Example: powershell concatenate string
Input:
Write-Host "String Concat in Powershell"
Write-Host "Basic Example"
$str1="My name is mustafa."
$str2="Am from chennai"
Write-Host "Concatenated text is below"
$str1+$str2
-------
Output:
String Concat in powershell
Basic Example
Concatenated text is below
My name is mustafa.Am from iraq
PS C:\WINDOWS\system32>