Retrieve string(s) from (txt) file
I am now working on a little app which should be able to cooperate with text file. The app. uses list boxes. There is no problem with saving strings from list box to txt file in appropriate order.
But I have issues with adding strings from the text file to the list box in order as they are typed in the file (Each string is saved on a blank line). I´d suppose each line in txt file would stand for each line in list box... Simple isnt it?
What have I reached so far is that whole text file is copied to one line of list box, which apparantly does not fullfit its purpose.
So is there some function which would indicate number of lines in a txt file and which would allow me to operate with single line at a time?
Thank you very much for your time spent with this thread