tags:

views:

29

answers:

1

/common_subscriber/?content_id=4552823&wapdld=8695411&media_type=audio&id_class=3&section=ms_admin%2Fnewjson%2Findex__du&media_format=mobile_audio_ring_real

I want to extract "wapdld=8695411" and save it in a variable. Please tell me . Help need urgently

+2  A: 

First step is find out do the seperation operation by using componentSeperatedByString:@"&"

Then again do the same with objectatindex:1 of the array that you get after doing above operation.

And in that second array objectAtIndex:0 will be your wapdId=8695411

hAPPY cODING...

Suriya
Thanks a lot for replying so fast. but can u plz write the code for that.I didnt undersstood it properly
Harsh
Douwe Maan
Thanks @Douwe for explaining... This is exactly what i mean to say...
Suriya
Thanks a lot both of u. It worked for me :-)
Harsh
Vote up is the best way to thanks... :P
Suriya