XploreDotNet
Known Is A Drop,UnKnown Is An Ocean....
Njoy Programming
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:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Loading...
No comments:
Post a Comment