You need to think instead of blindly implementing a "pseudo-code" comment. If you are at the end of str1, comparing with str1's char with str2's char is wrong because there is no str1 char actually in the substring under consideration.Quote:
Originally Posted by transgalactic2

