Autor Beitrag
Leathl
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 276



BeitragVerfasst: Mi 16.07.03 21:14 
---


Zuletzt bearbeitet von Leathl am Sa 15.08.09 15:28, insgesamt 2-mal bearbeitet
AndyB
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1173
Erhaltene Danke: 14


RAD Studio XE2
BeitragVerfasst: Mi 16.07.03 21:18 
Die Funktion Copy ist für Strings und dynamische Array und nicht für StringListen.

Die letzte Zeile kannst du so zurückliefern lassen:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
var LetzteZeile: string;
begin
  if fs.Count > 0 then
    LetzteZeile := fs.Strings[fs.Count - 1];
  ShowMessage('Die letzte Zeile ist: ' + LetzteZeile);
end;

_________________
Ist Zeit wirklich Geld?
Leathl Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 276



BeitragVerfasst: Mi 16.07.03 21:22 
---