I have a file with odd characters in it.
The following code IGNORES those charcters:
Dim ssContents As String
Dim soReader As System.IO.StreamReader
soReader = New StreamReader("C:\path\to\file.txt")
ssContents = soReader.ReadToEnd
My file contains this:
The ssContents variable, having read in the text, contain this:
NB. No "è" character!
This not that the string cannot hold the char, as I have forced it into it, but that the reader object ignores it.
Easy but urgent - 250pts.