Good Day All,
I can't believe this is giving me problems. Every day, a file is deposited on our web server.
Unfortunately, the file that is deposited is exported from an application before it is dumped on
our web server. As a result, some nasty characters work it's way into the file.
My dilemma, I'm writing a small VB app that takes this file reads it one character at a time,
filters the character (example: if asc(character) = 9 then disregard ' No tabs wanted...) to
see if it's between A-Z, and if so, write the character out to a new file. Fortunately for me,
the file will never be over 2K.
But I can't seem to find code out there that does what I want.
PSUEDOCODE----------------------------
open input file
open output file
while not eof(input file)
read a character from the input file
if the character <> ASC(9) then ' do not want TABS in output file
write character to the output file
end if
wend
close input file
close output file
PSUEDOCODE----------------------------
Any help will be appreciated. If needed, I'll add points if the solution warrants it.
TIA,
coson