October 27th, 2013, 12:41 PM
Re: Read binary file with line delimeter
Originally Posted by 2kaud
Yes, the "f's" are used to fill the substrings when the 16 bytes are not completely occupied by numbers (0 to 9), then the "f's" appear always from rigth to left of each substring and could appear one or more "f´s".
Instead of use "," as utput separator, the "|" is only the separator I'd like to use in the output.
I've tested the code and the output with small file I've uploaded in previous post and I get:
where the first column is block number, 2nd column is first string, 3rd column is 2nd string, but is appearing a 4th column that is not supposed to appear. The 4th column should be the first substring of the sub-block if exist.
So, if only first 2 strings are processed currently, the output expected is:
Thanks for the help 2kaud.
Last edited by Philidor; October 27th, 2013 at 12:43 PM.
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!