Comment Comment by mindhash on a tangent, one way could be assign a number code to each alphabet. Add the numbers that occur in the strings. IF the sum matches, they are anagrams. parent mindhash 8 years ago