title: Key-Value pair in C?
body: <p>I have a string in the format of </p>
  
  <pre><code>"SERVERID=12345\nSERVERKEY=asdasw\nSERVERAPPID=123213\n"
  </code></pre>
  
  <p>I've parsed this line by line using <code>strtok()</code>.
  Is there a way to make a key-value pair of each line? Like maybe store them in some sort of an array? What I mean is, if I want <code>SERVERID</code>, I just say <code>Array['SERVERID']</code> and it'll return <code>12345</code> as the value. Is there a way to do it in C?  </p>