title: How to collect parameters from a .cgi URL into multiple strings in iOS objC?
body: <p>I'm trying to collect the parameters from my ip camera and pass them into individual strings in Objective-C (an iOS app). When I enter the following URL in any web browser: [http://192.168.1.10:92/get_camera_params.cgi] the following is displayed onto the screen:</p>
  
  <blockquote>
    <p>var resolution=32;<br>
    var brightness=136;<br>
    var contrast=4;<br>
    var mode=2;<br>
    var flip=3;<br>
    var fps=0;   </p>
  </blockquote>
  
  <p>I would like to collect and pass this values into my own strings such as: </p>
  
  <blockquote>
    <p>myResolution = 32;<br>
    myBrightness = 136;<br>
    ...................  </p>
  </blockquote>
  
  <p>My guess is that I need to somehow convert the response of the URL into a string and somehow break that string into an array of strings or 6 strings and collect the data in between "=" and ";" in individual strings?</p>
  
  <p>Even though the actual values are Int's, the values must be stored in individual strings for my further code compatibility.</p>
  
  <p>As much as it looks easy, I'm not sure how to approach this, I had a good go at it but didn't advance to anything that is worth putting here on the forum.</p>
  
  <p>Please help with an example.
  I'd really appreciate it.  </p>