Autor Beitrag
rafi@work
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 147

Win2000 Prof
D7 Enterprise
BeitragVerfasst: Do 15.04.04 13:24 
Hallo zusammen!

Wie kann ich das letzte Zeichen Eines Edit Feldes abschneiden, löschen Die länge des Textes ist unbekannt.

Grüsse
Christian S.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 20451
Erhaltene Danke: 2264

Win 10
C# (VS 2019)
BeitragVerfasst: Do 15.04.04 13:26 
Zwei Stichworte:
Length()
Delete()

//edit: Ich war schneller!

_________________
Zwei Worte werden Dir im Leben viele Türen öffnen - "ziehen" und "drücken".


Zuletzt bearbeitet von Christian S. am Do 15.04.04 13:26, insgesamt 2-mal bearbeitet
bms
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 735

Win XP
Delphi 3, Delphi 6 PE, Delphi 2005 PE
BeitragVerfasst: Do 15.04.04 13:26 
Die Länge kannst du mit Length() ermitteln.

Zuschneiden kannst du mit der Prozedur Delete().

_________________
VORSICHT: Ich behersche seit heute die Fünf-Finger-Handflächen-Herz-Explodier-Schlag-Kampf-Technik >:(
rafi@work Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 147

Win2000 Prof
D7 Enterprise
BeitragVerfasst: Do 15.04.04 13:30 
Ein grosses Danke für die schnellen Anworten an beide!! Super, genau dieses Stichwort hat mir gefehlt :)

grüsse
rafi@work