What you could try is to split both characters of the string per character into strings, and then you can use diff. This is a dirty hack, but at least it should work and is easy to implement.
Alternatively, you can split the string into a list of characters in Python and use difflib. Check out Python difflib link
JPvdMerwe
source share