title: Given a starting and ending indices, how can I copy part of a string in C?
body: <p>In C, how can I copy a string with begin and end indices, so that the string will only be partially copied (from begin index to end index)? </p>
  
  <p>This would be like 'C string copy' <code>strcpy</code>, but with a begin and an end index.</p>