Hey, I'm pretty rusty as I haven't coded in a while but basically I need to:
Read through a text file that has many 16 char strings in the format "123456789_123456", some of which are appended to each other on the same line e.g. "123456789_123456123456789_123456123456789_123 456" that would be 3 of these 16 char strings appended to one another. I need to put strings in a new text file which their last 2 digits equals "00" and place all the found strings on a new line each.
Can anyone provide any assistance? I know how to open files and read and write to them. I just don't know how to specifically search through it to look for the last 2 digits of a string and then put it in a new file with each string being on a new line.
Any assistance greatly appreciated!
Thank you.