hi everbody ..firstly sorry about my english..
i have a txt file .each line have email adress.
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
....
...
[email protected]
i want to make combine all of with comma like this;
[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
how can ý do this ?
combine each line ?
Moderators: Dorian (MJT support), JRL
Try this
c:\temp\test.txt = multi-line file
c:\temp\test2.txt = all on one line comma delimited
c:\temp\test.txt = multi-line file
c:\temp\test2.txt = all on one line comma delimited
Code: Select all
Let>outline=
Let>k=1
Label>start
ReadLn>c:\temp\test.txt,k,line
If>line=##EOF##,finish
Let>outline=%outline%%line%,
Let>k=k+1
Goto>start
Label>finish
WriteLn>c:\temp\test2.txt,result,%outline%