Originally Posted by
XOR LX
Hi.
I think you need to rethink your definition of "matching characters".
For example, if we were to simply compare the number of occurrences of each character within one string and the number of occurrences of those same characters within another string, then, for:
"John Doe"
and:
"Eod Nhoj"
we would obtain a result of 100%.
Surely position (or relative position) needs to be taken into account also? However, since this is your post I'll leave it to you to further refine your definition.
Regards
Bookmarks