Thursday, July 9, 2009

How To Do Case Insensitive String Comparison

        if (System.String.Compare("xploredotnet", "XPlorEdotnet", true) == 0)
        {
            Response.Write("Equal");
        }
        else
        {
            Response.Write("!Equal");
        }


No comments: