Concatenates the specified string to the end of this string.
$[ScriptVariable]::concat(String str)
str (String): the string to add to the end of the string variable.
The following example illustrates the syntax for the concat() string method:
$str1 = "Hello"
$str1::concat("World")
print($str1)
HelloWorld