It would be nicer to have equalsIgnoreCase function rather than converting String to uppercase or lowercase and compare.