Java tutorial
//package com.java2s; //License from project: Open Source License public class Main { /** * does the tag equal the given name ignoring case * @param tag * @param name * @return */ public static boolean isTag(String tag, String name) { if (tag.equalsIgnoreCase(name)) return true; return false; } }