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 UserProc;
Var
s, s1, s2: string;
Begin
s1 := "abc";
s2 := "def";
s := String.Concat(s1, s2);
End Sub UserProc;
After executing the example the "s" variable contains the abcdef value.
See also: