Odd. I was looking this morning for some Java code to compute the Hamming distance between any two strings in Java, and could not find it. There are plenty of code samples for the Hamming distance between integers, but I am really looking for something that can process String objects.
Anyone knows where I could find this?
Update. Yes, I know it is not difficult. I am really looking for a Java two-liner.