Text(Delim: String): String;
Delim. Delimiter of elements in a string.
The Text property determines an array as a text string using a separator passed as an input parameter.
Sub UserProc;
Var
StrL: IStringList;
i: Integer;
s: String;
Begin
StrL := New StringList.Create;
For i := 0 To Math.RandBetweenI(50, 100) Do
StrL.Add("Number " + Math.RandBetweenI(0, 100).ToString);
End For;
s := StrL.Text("_");
Debug.WriteLine(s)
End Sub UserProc;
After executing the example the "s" variable contains text string that consists of all the elements of the StrL array separated by symbol "_".
See also: