如何用DELPHI把文本a.txt内容格式转化成文本b.txt的格式,谢谢!
如何用DELPHI把文本a.txt转化成文本b.txt,谢谢!a.txt内容:(注:以sulll=开始,end结束的循环体)
sulll=1111;
this is text
date1 date2 date3 date4
li12 aab
abc
end
sulll=2222;
this is text
date1 date2 date3 date4
li13 aab
bbc
ccc
end
sulll=3333;
this is text
date1 date2 date3 date4
li14 bbb
abc
end
b.txt内容:
sulll=1111,li12,aab,abc;
sulll=2222,li13,aab,bbc,ccc;
sulll=1111,li14,bbb,abc;