I have a string like:
1 this is my first text 2 his is my second 3 this is my third 4 this is my forth etc etc..
Each sentence is between the numeric characters like 1 2 3 4 etc
When I tap the first sentence, it needs to dissect it and copy it in clipboard or something. How can we use he NSScanner or NSRange to calculate the string size or identify strings between the numeric characters.
self.multiPageView.text =combined; the combined contains the text like above ,,so when i tap the first sentence it need to select and show a UIAlertView which conforms the tapped sentence is first sentence,how to dectected a sentence between numeric characters by tap pin that sentence,like ibook. I am using core text to show these type of text.
Use
NSScannerLike –