Autor Beitrag
qball
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 47



BeitragVerfasst: Do 24.04.03 16:03 
wie kann ich eine stringliste (ich habe sie in eine *.txt-datei gespeichert) alphabetisch sortieren??

ich hoffe, jemand kann mir behilflich sein, thx


Moderiert von user profile icontommie-lie: Titel geändert (Kleinbuchstaben), Topic verschoben
Teutobod
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 55



BeitragVerfasst: Do 24.04.03 16:05 
MyList.Sorted := True;
AndyB
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1173
Erhaltene Danke: 14


RAD Studio XE2
BeitragVerfasst: Do 24.04.03 16:40 
Und wenn die TStringList-Variable als TStrings deklariert ist, geht das mit einem Typecast:
ausblenden Quelltext
1:
TStringList(StrList).Sorted := True;					

_________________
Ist Zeit wirklich Geld?
qball Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 47



BeitragVerfasst: Do 24.04.03 16:53 
thx