how to convert char string into a std string
<p>I have following code and I cant figure out how to convert char string into a std string. Can someone help me out here? </p>

<pre><code>char Path[STRING_MAX];
test-&gt;getValue(Config::CODE,Path);

size_t found;
cout &lt;&lt; "Splitting: " &lt;&lt; Path &lt;&lt; endl;
found=Path.find_last_of("/");
cout &lt;&lt; " folder: " &lt;&lt; Path.substr(0,found) &lt;&lt; endl;
cout &lt;&lt; " file: " &lt;&lt; Path.substr(found+1) &lt;&lt; endl;
</code></pre>
