Thema: Delphi Wenn "Hallo" im Satz ist

Einzelnen Beitrag anzeigen

Benutzerbild von Neutral General
Neutral General

Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#10

Re: Wenn "Hallo" im Satz ist

  Alt 5. Dez 2004, 16:16
Delphi-Quellcode:
procedure TForm1.Button1.Click(Sender : TObject);
begin
if Pos('Hallo',Edit1.Text) > 0 then ShowMessage('es gibt ein "Hallo" !')
else
ShowMessage('Es gibt kein "Hallo" !');
end;
[edit]LOL eine ganze Flut von Antworten [/edit]
Michael
"Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."
  Mit Zitat antworten Zitat