string compare problom ,help me

 string a;
      if(a=="") Alert("ok");
if a equel empty, How do I write
You have not initialised the variable so the value is unknown