This is better
if(str1=="")....

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
string str1; //( is default the str1 is Null or "")
//**********str1 will change during the process
//do something change str1
//end
//check str1
if(str1==NULL) //this will report an ERROR
{
//........
}
please tell me how to know is str1 an null ?