How to separate only url from this string. "":"http://flutterrflut.pnf-sitespsites.info/api/uploads/13602519341.jpg"}"
I am doing this way:
arr = [returnString componentsSeparatedByString:@"image"]; NSLog(@"********%@",arr); self.mImgUrlStr = [arr objectAtIndex:1]; NSLog(@"imgUrl: %@",self.mIm gUrlStr); This is the original string {"message":"true","image":"http://flutterrflut.pnf-sitespsites.info/api/uploads/13602544571.jpg"}"
From this only url required.