I have the following NSString:
@"Show study NCT01287026: Real-time MRI Right Heart Catheterization Using Passive Catheters"
From this, I need to create 2 new strings. One would hold the 11 characters of the NTC code:
@"NCT01287026"
and the other the title of the study:
@"Real-time MRI Right Heart Catheterization Using Passive Catheters"
I have several similar strings. They all start with "Show study NTC********". What is the best way to go about this?
I can find the occurrence of "NTC", but I am not sure how to create the new string with the 8 other characters which come after it. I also need the rest of the string (study title) which varies in length.