MyChat Scripts: property TStringList.CommaText, all the list strings divided by commas
"For developers", "Server scripts", "Functions description", "Strings", "TStringList", "Properties", "CommaText".
Get the content of the list as one block. Strings are divided by commas.
Syntax
property TStringList.CommaText: string;
Result
A full text of the list in one string; the elements are divided by commas.
Example
var
SL: TStringList;
i: integer;
begin
SL := TStringList.Create;
for i := 1 to 10 do
SL.Append(IntToStr(i));
mLogScript(SL.CommaText, '');
SL.Free;
end.
Script work result
[17:30:55] (Log "CommaTextProperty"): 1,2,3,4,5,6,7,8,9,10
[17:30:55] (Run "CommaTextProperty"): Script operation time: 5 ms
[17:30:55] (Run "CommaTextProperty"): Script done successfully.