This script uses the levenshtein() and similar_text() functions to determine which of the signs of the Chinese zodiac have the most similar names.
Character FunctionsThis script counts the number of times each letter appears in a string and compares that count to the number of times each letter appears in the names of the Chinese zodiac signs to determine if the name can be made from the characters in the string.