Strings in file



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


.


Quantcast