Answer

Splitting a NSString delimited by any character like comma, space, hash etc. into a NSArray can be done by calling componentsSeparatedByString method on the NSString as shown in below.

  1.     NSString *termString = @"A,B,C,D,E";
  2.     NSArray *terms  = [termString componentsSeparatedByString:@","];
  3.     NSLog(@"Terms array %@",terms);