I am using the Indy TIdHTTP Component to read data from the website and then displaying the scores in Textbox's.
So far I have this code which gets the site and then posts the source into a Rich Text Box.
How could I search through this code and strip out the info I need to display in Text Boxes?
Thanks.
So far I have this code which gets the site and then posts the source into a Rich Text Box.
Code:
procedure TForm1.Button1Click(Sender: TObject);
var
LContent, URL : String;
begin
URL := '[URL unfurl="true"]http://hiscore.runescape.com/hiscorepersonal.ws?user1=zezima';[/URL]
LContent := idHttp.Get(URL);
RichEdit1.Text := LContent;
end;
How could I search through this code and strip out the info I need to display in Text Boxes?
Thanks.