I'm trying to figure out how to pinpoint the discrepencies between two strings. For instance, if I have
string1="abcdefh"
string2="abcefgh"

how do I code it so I know that string1 has a difference at position 4 (d), and string2 has a difference at position6 (g)?

Also, I would like this to work if there are multiple trouble spots on each.
I think I can do this by writing a for-next loop to check character by character, but that will take me two hours to code right, and given the size files I have, probably 2 hours to execute.

Thanks for any help!