in reply to Re^3: mismatching characters in dna sequence
in thread mismatching characters in dna sequence

For each tuple of letters, the result is different.

A problem might be (depending on what exactly the OP needs) that "A" ^ "T" is the same as "T" ^ "A" (etc.), so the direction of the change (i.e. A->T or T->A) would be lost with this simple approach.