title: How to cast AnsiString to char?
body: <p>What I'm troubling about is conversion. I'm using C++ Rad Studio XE8 (don't ask why cause I had to).</p>
  
  <p>I have variables</p>
  
  <pre><code>AnsiString a = "D8";
  char sz;
  </code></pre>
  
  <p>I want <code>sz</code> to look like this</p>
  
  <pre><code>char sz = 0xD8;
  </code></pre>
  
  <p>How do I cast the <code>AnsiString</code> <code>a</code> to <code>char</code> so that <code>sz</code> will end up equaling <code>0xD8</code>?</p>
  
  <p>I have tried <code>memcpy</code>, <code>strcpy</code>, etc. yet couldn't find solutions.</p>