|I have a log file that I would like to parse. This file is XML formatted, but for whatever reason, when opened with anything other than the Microsoft Service Trace Viewer, it appears all on one long line. Within this file, is a 32 byte hexadecimal string I need to parse out, appearing an unknown amount of times. I just need to know how to iterate through this line, and place a CRLF after certain parts so I can parse it out with a for loop. If that doesn't seem logical, then I guess I need a way to iterate through this file, splitting it up at token 7, 14, 21, etc, for every occurnence of the 32 byte string I need.|
Here is the log file. Keep in mind that the number of times that 32 byte hex string appears will be different everytime.
If you need anymore info, let me know.