Autor Beitrag
HaRaH
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 65



BeitragVerfasst: So 13.02.05 16:05 
hi,
gibt es eine Möglichkeit aus einem RichEdit einfach eine Zeile als String zu extrahieren?
Mit RichEdit1.Lines bekomme ist nur den gesamten Text auf einmal.
Gibt es vielleicht so etwas wie eine Funktion RichEdit1.Lines[2], die mir 3. Zeile als String ausgibt?

thx!

Gruß MaX


Moderiert von user profile iconTino: Topic aus Sonstiges verschoben am Mo 14.02.2005 um 09:22
AXMD
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 4006
Erhaltene Danke: 7

Windows 10 64 bit
C# (Visual Studio 2019 Express)
BeitragVerfasst: So 13.02.05 16:08 
Die Antwort hast du bereits selbst geschrieben ;)

ausblenden Delphi-Quelltext
1:
2:
3:
4:
var
  DritteZeile: String;
...
DritteZeile := RichEdit1.Lines[2];


AXMD
HaRaH Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 65



BeitragVerfasst: So 13.02.05 17:03 
hm...ok...lol :)
danke!
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 29

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: So 13.02.05 17:07 
warum hast dus net ausprobiert, die lösung kanntest du ja schon :D