Concat(Val1: String; Val2: String): String;
Val1 - the first substring for concatenation.
Val2 - the second substring for concatenation.
The Concat method concatenates two substrings passed as the Val1 and Val2 input parameters into one string.
Sub Main;
Var
s, s1, s2: string;
Begin
s1 := "abc";
s2 := "def";
s := String.Concat(s1, s2);
End Sub Main;
After executing the example the "s" variable contains the abcdef value.
See also: