Q:

How to format string in IOS (@"url")

I am getting response from  web service, the response is based on comma separated URl  
NSString *str = [[NSString alloc] initWithData:responseData encoding:NSUTF8StringEncoding];
        NSLog(@"ResponseData: %@", str);

And its output is like 
ResponseData: http://www.digitalnet.com/androidapi/images/post_images/img_2013-12-09-00-12-46.jpg,http://www.digitalnet.com/androidapi/images/post_images/img_2013-12-09-01-12-32.jpg

I want to pass the response to my Images Gallery Which takes URL like below format
networkImages = [[NSArray alloc] initWithObjects:@"http://www.digitalnet.com/androidapi/images/post_images/img_2013-12-09-00-12-46.jpg",@"http://www.digitalnet.com/androidapi/images/post_images/img_2013-12-09-01-12-32.jpg",nil];

How can I format my response to @"URL",@"URL" so that I can store it into some variable e,g;abc and pass that to 
networkImages = [[NSArray alloc] initWithObjects:abc,nil];

A:

NSString has a method componentsSeparatedByString: which does exactly this.
networkImages = [str componentsSeparatedByString:@","];

