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