I split the line into ';', but I want to specifically capture the first and second elements.
I know that PHP is just just $ array [0], just can't find anything for this for Objective-C
NSArray *tempArray = [returnString componentsSeparatedByString:@";"];
So here I have assigned my array, how can I get the first and second elements?
source share