title: How to get substring in C
body: <p>I have a string, let's say "THESTRINGHASNOSPACES".</p>
  
  <p>I need something that gets a substring of 4 characters from the string. In the first call, I should get "THES"; in the second, I should get "TRIN"; in the third, I should get "GHAS". How can I do that in C?</p>