NSArray testArray = [[NSArray alloc] init];
NSString *testString = [[NSString alloc] initWithFormat:@"Sam|26,Hannah|22,Adam|30,"]; </code>
testArray = [testString componentsSeparatedByString:@"|"];
  for(int i=0;i<[testArray count];i++){
        NSString *str=[testArray objectAtIndex:i];

By admin-powenko

Dr. Powen Ko is a teacher and CEO on LoopTek LLC, and like to teaching. if you need to class, please let PowenKo know, he will love to service and sharing. LoopTek web site is www.looptek.com

Leave a Reply