title: How to cast a variant as (or convert to) AnsiChar?
body: <p>I'm using Delphi XE2. Pretty self explanatory question. I have a variant in which I'm storing a single character (eg. '?') and I want to cast it as an AnsiChar. If I can't cast it, then how do I convert it. I've tried to cast it the usual way casting is done, but it didn't work. I've tried searching on Google and found no straight forward answers. I'm not interested in the theory of unicode conversion. I'm looking for the reference information in one or two lines of delphi code.</p>