in reply to Best way to compare range of characters in two text files

If you know how to read the first 50 characters from each file, why don't you simply read them into variables and then compare the variables? That should be much simpler.

I can't say much more right now because it is not clear to me what you mean by comparing the first 50 characters: do you just need to know if they are equal? Do you need to find the differences? Also, are the files text files? Please provide more details.

  • Comment on Re: Best way to compare range of characters in two text files