title: How to detect SUB character and remove it from a text file in C#?
body: <p>I am writing a program to process special text files. Some of these text files end with a SUB character (a substitute character. It may be 0x1A.)  How do I detect this character and remove it from the text file using C#?</p>