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:

Creative Commons License
Disclaimers:We have tried hard to provide accurate information, as a user, you agree that you bear sole responsibility for your own decisions to use any programs, documents, source code, tips, articles or any other information provided on this Blog.