Java tutorial
//package com.java2s; public class Main { public final static boolean equalsIgnoreCase(String str1, String str2) { if (str1 == str2) { return true; } if (str1 == null) { return false; } return str1.equalsIgnoreCase(str2); } }