title: How to convert a char* pointer into a C++ string?
body: <p>I have a C++ <code>string</code>. I need to pass this string to a function accepting a <code>char*</code> parameter (for example - <code>strchr()</code>). </p>
  
  <p>a) How do I get that pointer? </p>
  
  <p>b) Is there some function equivalent to <code>strschr()</code> that works for <code>C++ strings</code>?</p>