Writing to Text File
Hi, I have an ASP.NET page that allows users to create a text-file.
Everything works perfectly, except that when the string is written to the text file using StreamWriter, a soft-return (with no space), is added to the very end of the text.
.TrimEnd does not remove this soft-return. Does anyone know how I can in effect 'backspace' at the end of the string at read or write time.
Thanks in advance.