Modifying lines in text file
Posted on 2007-03-23
in my text file (it's rather big) I 'd like to do some modifications based on certain conditions.
I have 2 scenarios (I need a simple script for each one separately):
1) delete certain character (let's say "Tab character" or number "9") from a line if length of the line is less than 200 and save the output into a new text file.
2) if the length of the line is less than 200 append the next following line to it (again save the output into a new text file)
I'd prefer using VB script or something which would work with huge text files.