I have a string that I use as url to a uiwebview with some values sent to the server
NSString* myString = @"http://mywebsite.com?value1=10&value2=20&value3=30"
now I wish to obtain an array or a list with the values with name/value… how can I do this?
NSStringhas a method for this:componentsSeparatedByString:. Call it once, using “&” as the separator, then again using?. You can figure out the rest of the logic, I’m sure.