Untitled Document

RATOXTIGERHAREDRAGONSNAKEHORSEGOATMONKEYROOSTERDOGPIG

Chinese Zodiac Feedback Banner Display
[Banner Ad]

Hover over the Fortune Fish to reveal your fortune.

Navigation



String and Character Functions

String Functions Character Functions



String Functions

Here the levenshtein() function and the similar_text() function use the script to determine the difference between the strings by calculating them. This 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 names can be made from the characters in the string. Different algorithms manufacture different outputs.
[Test the Script] [View the Source Code]


Character Functions

This script takes the phrase as an argument and compares it by counting the number of times each letter or character appears in a string and to those in the names of the Chinese zodiac signs. This is when the Chinese Zodiac signs that you can make using the letters from your phrase if the name can be made from the characters in the string.
[Test the Script] [View the Source Code]





A randomly displayed Chinese proverb read from a text file.
The judge with seven reasons states only one in court


6 Randomly displayed proverbs from a database:
3 A bad word whispered echoes a hundred miles.*
The Chinese Zodiac | Site counter Chinese Zodiac Feedback

Total visitors to this site: 237087


Home Page Site Layout Control Structures String Functions Web Forms Midterm Assessment State Information User Templates Final Project