String Behaviour. Unusual Characters??
Posted on 2003-11-26
I have a text file that contains a large string of characters, alot of these chars are unusual ones such as Null characters etc etc. I read this file into a string in my program using "Line Input #file, strMyString" - once I have read the file into the string I then print it to a new file using "Print #newfile, strMyString".
The process appears to work nicely, until I compare the original file with the new file, it would seem that somewhere in the process VB has dropped or converted or done something to some of the more unusual chars, so comparing the original file with the new file - they are quite different. This creates a big problem.
Are there some chars that VB cant put into a string? Why is this happening?
Thanks in advance.