title: Parsing an array of chars
body: <p>Let's say I have "game.abc" as a string (array of chars) and I want to get the chars that are before the dot. What you would deem to be the most efficient way to do this in C?</p>
  
  <p>Is a "while until . copy char to char" the way to go or is there any other way?</p>
  
  <p>I hope this question can help others also.</p>
  
  <p>Thanks!</p>