title: How to split a delimited NSString into NSArray
body: <p>I have a little problem when I try to split delimited string into an Array. Basically, I want to pass result from MECARD QRCode and add new entry to addressBook.</p>
  
  <p>Here is my code (for "FirstName" field only) :  :</p>
  
  <pre><code>NSLog(@"found CB");
  NSLog(@"_code.text = %@", code.content);
  ABAddressBookRef addressBook = ABAddressBookCreate();
  ABRecordRef person = ABPersonCreate();
  
  NSString *_n = [NSString stringWithFormat:@"_code.text = %@", code.content];
  NSArray *n = [_n componentsSeparatedByString:@";"];
  NSLog(@"_code.text = %@",n);
  
  ABRecordSetValue(person, kABPersonFirstNameProperty, _name, nil);
  
  ABAddressBookAddRecord(addressBook, person, nil);
  CFRelease(addressBook);
  
  ABNewPersonViewController *c = [[ABNewPersonViewController alloc] init];
  [c setNewPersonViewDelegate:self];
  [c setDisplayedPerson:person];
  CFRelease(person);
  [self.navigationController pushViewController:c animated:YES];
  [c release];
  </code></pre>
  
  <p>MECARD QRCode is well decoded &amp; viewController appears... But all the URL (as : "MECARD:N:name;ORG:company;TEL:89878978; ...Etc.) goes in first field (FistName field)...</p>
  
  <p>What am missing to separate my MECARD URL &amp; send right data in right field?</p>