How to only copy the exact index element from a string array?
<p>I am working on this code, and got confused..
How to only get the 10th element and above only to be copied into the buffer?</p>

<p>For example, I have this string "http://www.google.com". I don't want the "http://www." part to be copied inside my <code>testDest</code> buffer.</p>

<pre><code>  char testDest[256];
  char *p= _com_util::ConvertBSTRToString(URL-&gt;bstrVal);

  for (int i = 0; i &lt;= strlen(p); i++)    
  {
    testDest[i] = p[i];   
  }
</code></pre>
