Autor Beitrag
jackie05
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 357



BeitragVerfasst: Do 07.02.08 18:28 
Hallo,
wie kann ich das erste Zeichen aus RichEdit.Text löschen?

Ich habe das so versucht:
ausblenden Delphi-Quelltext
1:
Delete(RichEdit1.Text,0,1);					

aber irgendwie stimmt da was net.

Ich danke euch schonmal für die Hilfe.

MfG
Yogu
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2598
Erhaltene Danke: 156

Ubuntu 13.04, Win 7
C# (VS 2013)
BeitragVerfasst: Do 07.02.08 18:42 
Das liegt wahrscheinlich daran, dass RichEdit1.Text keine Variable, sondern ein Property ist.

ausblenden Delphi-Quelltext
1:
RichEdit1.Text := Copy(RichEdit1.Text, 2, Length(RichEdit1.Text));