Autor Beitrag
Krumnix
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 60

Win98,2000,XP
Delphi 7 Enterprise
BeitragVerfasst: Do 22.09.05 11:16 
Hallo.

Ich lade den Inhalt einer Datei in eine TStringList und möchte gerne dann dort eine Zeile hinzufügen. Der Inhalt wird als Text bearbeitet.
Dabei kommt es an, was für ein Text hinzugefügt werden soll.
Manchmal am Anfang, öfters in der Mitte und manchmal am Ende.

Wie kann ich also ein weitere Zeile irgendwo hinzufügen, ohne das der vorherige Inhalt verloren geht?

Danke

_________________
Kommt Zeit kommt Rat.... In der Tat
Ich kann mehr auswendig als ich mir merken kann.
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: Do 22.09.05 11:21 
TStringList.Insert. Am Ende: TStringList.Add

AXMD
Krumnix Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 60

Win98,2000,XP
Delphi 7 Enterprise
BeitragVerfasst: Do 22.09.05 11:30 
Danke.
Hätte man auch selbst drauf können kommen :oops: :?

_________________
Kommt Zeit kommt Rat.... In der Tat
Ich kann mehr auswendig als ich mir merken kann.