Text Manipulation
evening all, anyone free to help with a text manipulation issue?
so im reading a log file that is in hex, ive used bit converter to push this out put to a RTB with no issues, my next task after a looking at how the hex is structured is to break the records into individual lines (records vary in length).
here is a sample of the file entry and 1 record
there is some null data at the start that needs to be cleared out the 1st 47 characters
once that is done i need to search for "00-00-E" count back 6 chars from the 1st "0" and insert a line break "\n", ideally i need to loop this until the end of the file, then display the output into a rtb to verify its looking correct and then save it to a new txt file, so i can decode it later
2 record output
i know the theory but lack ability at present any help appreciated
so im reading a log file that is in hex, ive used bit converter to push this out put to a RTB with no issues, my next task after a looking at how the hex is structured is to break the records into individual lines (records vary in length).
here is a sample of the file entry and 1 record
there is some null data at the start that needs to be cleared out the 1st 47 characters
once that is done i need to search for "00-00-E" count back 6 chars from the 1st "0" and insert a line break "\n", ideally i need to loop this until the end of the file, then display the output into a rtb to verify its looking correct and then save it to a new txt file, so i can decode it later
2 record output
i know the theory but lack ability at present any help appreciated