Here is my code to get a json response string
I am getting this string by using this method
NSDictionary *selector = [json valueForKey: @"Title"];
NSMutableArray *dictArray = [[NSMutableArray alloc] initWithObjects: selector,nil];
str1=[[dictArray objectAtIndex:i] valueForKey:@"CompanyName"];
To print the "str1"
I am getting
(
"hello@developer.com"
),
(
"hello@developer.com",
"helloworld@microsoft.com"
),
(
"hello@developer.com"
),
(
"hello@developer.com"
),
(
"hello@developer.com"
),
(
"hello@developer.com"
),
(
"hello@developer.com"
),
(
"hello@developer.com"
)
)
I am trying to store in array by using "," operator
like this way
NSArray *SplitStringArray = [str1 componentsSeparatedByString:@", "];
but I didn't split the string into array of elements
Could please any one help me?