You can use "equalsIgnoreCase(String anotherString)" method of Strings class. It works just like equals method except, it makes case-insensitive comparisons. Please post a reply saying whether this solved ur problem or not.
If u have a difficult task on hand, give it to a lazy person. They'll find an easier way to do it!!