Get single string char from a string
<pre><code>for each (std::string s in m_intro.text) // std::vector&lt;string&gt;
    {
        for (int i = 0; i &lt; s.length(); i++)
        {
            char* chr = &amp;s.at(i);
            chr[i+1] = NULL;
            std::string t(chr);

            // other code is used below not shown as not relivent

        }

    }
</code></pre>

<p>I want to get a char from a string. Each char I get I then want to turn into a string (there is a function that needs a <code>const std::string&amp;</code>)</p>

<p>The above code works once, but after the first loop the entire of <code>s</code> is null. I can see why this is happening. </p>

<p>What I want is to get the next char from <code>s</code> on each loop and store it as a string.</p>
