Is there a slick string function that will allow me extract the fields?Use TStringList:
You mean copy all 7,500 records into a program and declare them into a constant adding '+ LineEnding +' to each line.
I don't know?
Yea, It's not an easy problem.
Yea, It's not an easy problem.It looks like you could use a good book on Pascal programming. Without some understanding of the basics, you will find it difficult, not to mention frustrating, to get anything done. If you're interested, pick up a copy of "Oh Pascal" by Doug Cooper, it's a really good book (basic programming, not object oriented, good, systematic analysis of problems and procedures so they can be represented in Pascal, very good place to start.)
Yea, It's not an easy problem.
Yea, It's not an easy problem.It looks like you could use a good book on Pascal programming. Without some understanding of the basics, you will find it difficult, not to mention frustrating, to get anything done. If you're interested, pick up a copy of "Oh Pascal" by Doug Cooper, it's a really good book (basic programming, not object oriented, good, systematic analysis of problems and procedures so they can be represented in Pascal, very good place to start.)
You can use unit LazStringUtils and split string to TStrings (TStringList):
SplitString('0B7;Warren-Sugarbush;44.11738;-72.82702;1470;783;KPBG', ';', ListBox1.Items, True);
But you will have to do it with each of 7500 records. IMO TListBox is not the right component here. Try TStringGrid and LoadFromCSVFile:and you are done with one line. :)
StringGrid1.LoadFromCSVFile('/home/v1/Documents/test.csv', ';', False, 0, True);
On the 17th I go in for an eye operation, hopefully to improve my sightI hope that will be the result.
On the 17th I go in for an eye operation, hopefully to improve my sightI hope that will be the result.