When I read a file using FileRead and display the contents in a listbox I get some garbage character开发者_如何学Gos after the line.
Eg. if my line is : a.txt
I get something lk: a.txt$$
(Note $$ are some garbage characters) Its probably because of $\r$\n. What can I do to correct this?
Use the TrimNewLines helper macro
精彩评论