title: Swift Get string between 2 strings in a string
body: <p>I am getting a string from html parse that is;</p>
  
  <pre><code>string = "javascript:getInfo(1,'Info/99/something', 'City Hall',1, 99);"
  </code></pre>
  
  <p>my code is something like</p>
  
  <pre><code>var startIndex = text.rangeOfString("'")
  var endIndex = text.rangeOfString("',")
  var range2 = startIndex2...endIndex
  substr= string.substringWithRange(range)
  </code></pre>
  
  <p>i am not sure if my second splitting string should be "'" or "',"</p>
  
  <p>i want my outcome as </p>
  
  <pre><code>substr = "Info/99/something"
  </code></pre>