I looked at the string formatting documents but couldn’t figure out exactly how to do this.
Lets say I have a sting like this
@"(01–05) Operations on the nervous system"
I want to create 2 strings from this like so:
@"01-05" and @"Operations on the nervous system"
How can I do this?
Here are the docs I looked at: http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Strings/Articles/FormatStrings.html
Give this a shot. It might be off a bit, I havent checked for typos. But you can mess around with it now that you get the idea.