procedure TForm1.Button1Click(Sender: TObject);
var
jsq:integer;
str:String;
begin
memo2.Lines.Clear;
for jsq:=0 to memo1.Lines.Count-1 do
begin
str:=memo1.Lines[jsq];
str:=trim(str);
if pos(' ',str)>0 then
memo2.Lines.Add(memo1.Lines[jsq]);
end;
end;