
23.07.2012, 15:26
|
 |
Новичок
|
|
Регистрация: 08.04.2012
Сообщения: 68
Версия Delphi: Delphi 7
Репутация: 127
|
|
изменил так:
Код:
while i<StrLst.Count-1 do
if StrLst[i]='Г'+s1 then
begin
repeat
inc(i);
s:=s+StrLst[i];
s:=s+#13#10;
if i=StrLst.Count-1 then break;
until(StrLst[i+1]='Г'+IntToStr(StrToInt(s1)+1));
break;
end
else inc(i);
ShowMessage(s);
Всё работает
|