I have two strings like 1) JOHNSAN 2) JHONSAN
when comparing above two strings OH-HO (transposed)
how to check these condition if any adjacent letters are transposed between
two strings
one more exampls : MADHU 2) MAHDU
here DH transposed HD
please help on prority