What is the simplest way to split an NSString by the maximum number of characters?
For example, if I have a string that is 204 characters long and I want to split it at 100 characters, it should yield an NSArray with three substrings (100,100,4).
Don’t forget to release the array when you have done.