Autor Beitrag
hibbert
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1007

WinServer2003, Win XP, Linux
D6 Pers, D05
BeitragVerfasst: Mo 25.08.03 16:55 
Hi,
wie ich einen bestimmten Buchstaben (oder eine Zahl) aus einem Memo auslese weiß ich
ausblenden Delphi-Quelltext
1:
button1.Caption:=memo1.Lines.GetText[1];					

Doch wie kann ich jetzt einen bestimmten Buchstaben löschen? Mit
memo1.Clear[1];funzt es nicht. :cry:

thx hibbert

_________________
I kunnen väl svara endast ja eller nej
Om i viljen eller nej
Tino
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Veteran
Beiträge: 9839
Erhaltene Danke: 45

Windows 8.1
Delphi XE4
BeitragVerfasst: Mo 25.08.03 16:58 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
Var
  Str: String
Begin
  Str := Memo1.Lines.Text;
  Delete (Str, 1, 1);
  Memo1.Lines.Text := Str;
End;
hibbert Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1007

WinServer2003, Win XP, Linux
D6 Pers, D05
BeitragVerfasst: Mo 25.08.03 17:01 
Danke für die schnelle antwort!! :D

_________________
I kunnen väl svara endast ja eller nej
Om i viljen eller nej
Tino
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Veteran
Beiträge: 9839
Erhaltene Danke: 45

Windows 8.1
Delphi XE4
BeitragVerfasst: Di 26.08.03 09:08 
Bitte! Kein Problem :-D

Gruß
Tino