i need to serach a textfile for a certain character, then display this found character , and display where it was found in that file ( display for example 1000 character above it and 1000 character below it )
thanks
what version of VB (i can give you a code sample i have used)
either way; you will need to bring in the text file (line by line or the whole thing depending on its size) and do a search for the Character using instr, then use the mid function to find the char display above and below.
See my post on replacement chars to see how you can search and manipulate strings (vb 6 example)
Comment