tutorial.eyehunts.com
JavaScript Comparing strings | localeCompare() method examples
Use Javascript localeCompare() method to compares two strings in the current locale. This method returns 0 if both the strings are equal.
Rohit