Autor Beitrag
Laxans
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 28



BeitragVerfasst: Fr 30.01.04 22:45 
Ich habe eine Stringlist bzw. ein Memofeld. wie kann ich heraus finden in welcher reihe der String steht der im Alphabet als erstes kommt also was ich für i bei "memo1.lines[i]" eintragen muss um diesen string zu erreichen...

danke
grayfox
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 800

win98, winXP
D4 Standard; D6 Personal
BeitragVerfasst: Sa 31.01.04 01:56 
hallo laxans!

ich hoffe, dass ich deine frage richtig verstanden hab.
am einfachsten gelingt dir dein vorhaben, wenn du bei der stringlist die eigenschaft 'sorted' auf 'true' setzt. danach steht der kleinste eintrag an der position 0.

mfg, stefan
Laxans Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 28



BeitragVerfasst: Sa 31.01.04 19:23 
Reihenfolge soll nicht verändert werden