Re: Strings in file



Op Fri, 23 Sep 2005 06:30:27 GMT schreef "Tom" <you1@xxxxxxx>:

>Sorry for my english!
>If i have 5 lines in a .txt file: like this
>
>"This is line :345"
>"This is line :323
>"This is line :356"
>"This is line :385"
>"This is line :312"
>
>I want all information in the txtfile to be visible in a memo (no problem)
>but when i push the button i want to sort them in numbers?, what if the
>string have more numbers after eachouther like this:
>"This is line :312 and has the number 412".
>but i only want to sort them by the first set of numbers
>
>I need a button for the lowest number and one for the highest number
>Can someone help me with this
>

Do all lines start with "This is line: " ?
If so, then the task would not bes so difficult I guess.

Bart
--
Bart Broersma
broersma.juda_ANTISPAM_@xxxxxxxxxx
(ff _ANTISPAM_ wegpoetsen uit dit adres natuurlijk)
.


Quantcast