I have a string in the following format
myString = \"cat+dog+cow\"
I need to store each string separated by + in to a array. Eg:
Try This:
NSString *str = @"cat+dog+cow" ; NSArray *array = [str componentsSeparatedByString:@"+"]; NSLog(@"%@",array) ;