Цитата:
Сообщение от Bars1992
Код:
s:='<count>3</count>';
if (pos('<count>',s)<>0)and(pos('</count>',s)<>0 ) then
begin
g:=inttostr(copy(s,pos('<count>',s),pos('</count>',s)-pos('<count>',s)));
end;
Чтото наподобе такого. код не проверял делал как говорится на коленке.
|
компилятор выдает:
[DCC Error] Unit1.pas(37): E2010 Incompatible types: 'HWND' and 'string'