KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm splitting a string by ';', but want to specifically grab the first and second element. I know with PHP it's just simply $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 go about getting the first and second element?
Tags (comma-separated)
Save Edits
Cancel