When I begin learning regular expression, I tried to find some tools to help me.
I found a couple of tools, it was Komodo regular expression and RegexBuddy. But both of this costs money. I tried to find free tools, but I was failed.
So I decided to create my own.
RegexMaster is a very simple tool, but [...]
If you want to compare some constant string value with variable, you can use this code:
string myString = “hello”;
if(myString.ToUpper() == “HELLO”)
{
// do somthing
}
But in this case you have to check variable to null, because you can have null reference exception in method ToUpper()
string myString = “hello”;
if((null != myString) && (myString.ToUpper() == “HELLO”))
{
// do somthing
}
To avoid [...]