title: Convert a single character to a string?
body: <p>Simple question (in C++):</p>
  <p>How do I convert a single character into a string.
  So for example, I have <code>string str = &quot;abc&quot;;</code></p>
  <p>And I want to extract the first letter, but I want it to be a string as opposed to a character.</p>
  <p>I tried</p>
  <pre><code>string firstLetter = str[0] + &quot;&quot;;
  </code></pre>
  <p>and</p>
  <pre><code>string firstLetter = &amp; str[0]; 
  </code></pre>
  <p>Neither works. Ideas?</p>