I meant the left 10 and right 7 of each line. The file I am reading will be a log file and I need the beginning 10 and the last 7 of each line. You are right on the money!!! Thanks so much for you help.
Hello all, first this is an awesome forum.
I am trying to read a file and take the first 10 letters from the left and the last 7 from the right...put them together in a new file.
I have butchered some code I found on the internet and this is what I have so far but when I run it I get...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.