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:
NSArray *lines = [string componentsSeparatedByString:@"-"];
The first value will be stored in 0th index of lines and second value will be stored in 1th index of lines..
Why not array?