Autor Beitrag
DOCa Cola
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 64

Vista x64
D2007
BeitragVerfasst: Sa 31.03.07 11:45 
Hallo!

ich benötige eine funktion um die zeilen eines mehrzeiligen strings in umgekehrter reihenfolge zu ordnen. diese sollte möglichst schnell in der abarbeitung sein. ich möchte später mehrere textdateien mit größen zwischen 10-20kb im speicher umsortieren. also beispiel
string mit inhalt
ausblenden Quelltext
1:
2:
3:
Zeile 1
Zeile 2
Zeile 3

soll danach so aussehen
ausblenden Quelltext
1:
2:
3:
Zeile 3
Zeile 2
Zeile 1


gruß Norman
Horst_H
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1654
Erhaltene Danke: 244

WIN10,PuppyLinux
FreePascal,Lazarus
BeitragVerfasst: Sa 31.03.07 12:14 
Hallo,

die Datei als Stringlist einlesen (.loadfromfile) und dann weiter wie [url=www.delphi-forum.de/...p?t=70373]hier[/url]

Gruß Horst
DOCa Cola Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 64

Vista x64
D2007
BeitragVerfasst: So 01.04.07 14:58 
vielen dank :)