title: XE6 How do you check if a UnicodeString is null?
body: <p>I'm using <code>C++ Builder XE6</code>. I'm getting a <code>UnicodeString</code> as a parameter and I wish to check if the string is set to NULL, and not an empty string.</p>
  
  <p>I've tried to do some simple compares to see if the param is null, but seem to be failing. I'm using the <code>==</code> operator which doesn't seem to be working, which makes me think it is overloaded.</p>
  
  <p>I've tried:</p>
  
  <pre><code>if (searchString == NULL)
  </code></pre>
  
  <p>In the debugger view, it shows the value of <code>{ NULL }</code> in the local variables. If I add the variable to the watch list, then it shows it has a property of "Data" which is <code>NULL</code>. </p>
  
  <p><img src="https://i.stack.imgur.com/P75TG.jpg" alt="enter image description here"></p>
  
  <p>Any ideas on how I can properly do the compare?</p>