tags:

views:

97

answers:

1

When I read a file using FileRead and display the contents in a listbox I get some garbage characters 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?

A: 

Use the TrimNewLines helper macro

Anders
Wow it worked in 1 go...thnx :)
Pia