Join(Delimiter: String; Values: Array): String;
Delimiter. The delimiter used on join.
Values. The character array containing a set of values, which should be combined into one string.
The Join method combines the values of all the elements of the array passed by the Values parameter into one string, using the specified Delimiter delimiter.
Sub UserProc;
Var
s: String;
s1: Array[3] Of String;
Begin
s1[0] := "13";
s1[1] := "24";
s1[2] := "35";
s := String.Join("_", s1);
End Sub UserProc;
After executing the example the "S" variable contains the text "13_24_35".
See also: