I´m creating a program in which it has to write everything that has in a StringList. I declared a variable "List: TStrings;" then I create my String List using "List := TStringList.Create;". Than I put everything in it. It can come up to 100 or more lines. Than I have to send everything to a text file. My problem is that everytime I write my List from my StringList to my text file, it comes up with a blank line. Example:
1. Line -> Apple
2. Line -> Orange
3. Line -> Banana
4 .Line ->
So the line 4 comes up with nothing (Blank). It´s like just doing an "Enter" on the end of the stringlist and typing nothing. I need to take that enter off before writing to my file. Because the file also is comingo up with an "Enter". How do I do that ? I put a memo to my application and sent everything on my StringList to it to see if the enter is on my StringList and on the memo is also coming up with the "Enter"