Link to home
Start Free TrialLog in
Avatar of rincewind666
rincewind666

asked on

Coping the paragraph that a certain word appears in (500 points)

When a certain word appears in the text of Memo1, I want just the paragraph to be copied to Memo2.  I am using Delphi 6.  

I am giving 500 points as this code is required urgently. Many thanks for your help.
Avatar of rincewind666
rincewind666

ASKER

Almost forgot. I need ALL the paragraphs that this word appears in, not just the first.  Thanks.
procedure TForm1.Memo1Change(Sender: TObject);
begin
Memo2.Text:=Memo1.Text;
end;
ASKER CERTIFIED SOLUTION
Avatar of Kyle Foster
Kyle Foster
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial