I have a NSString that I can decide the format for, in which I will store contact groups and group members, like so:
Friends|John Smith|Jane Doe
Imaginary Friends|Mary Poppins|Harry Potter|Arya Stark
(\n after last member name)
The "|" is a temporary divider I'm using because it is unlikely to appear in contact and group names.
I save this to file and need to extract the groups and group members names as NSStrings when I next load up this file. How would I do this?