title: Get parameters from URL, get substrings in a query string and store them in a table
body: <p>I want to get the values of some parameters in a URL, I know the idea but I don't know how to do get them. </p>
  
  <p>I have an string that is an URL: </p>
  
  <pre><code>local url="fbconnect://success?to[0]=213322147507203&amp;to[1]=223321147507202&amp;request=524210977333164"
  </code></pre>
  
  <p>I want to detect the sub-strings "to[" and get the numbers 293321147507203,293321147507202 and store them in a table.</p>
  
  <p>I know the process is detect the sub-string to[ and then get the sub-string that is 3 character (or 6 not sure if it counts from the beginning of "to[" and then get the number, always is a 15 digit number.</p>