iflash
asked on
VB6: Remove lines with comma (Text manipulation)
Hi,
I need a VB 6 code that will remove all lines in a text file when there is no comma "," in that particular line. Hence all other lines with comma will be untouched.
Thank youi.
I need a VB 6 code that will remove all lines in a text file when there is no comma "," in that particular line. Hence all other lines with comma will be untouched.
Thank youi.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
FileCopy "c:\fileIn.txt", "c:\fileIn.bak"
FileCopy "c:\fileOut.txt", "c:\fileIn.txt"
Kill "c:\fileOut.txt"