code: public static int lastIndexOfIgnoreCase(String str, String searchStr) {
  		if (searchStr.isEmpty() || str.isEmpty())
  			return -1;
  		return str.toLowerCase().lastIndexOf(searchStr.toLowerCase());
  	}
docs: Return last sub-String position ignore case, return -1 if not found