How to use NSRange or NSScanner in iOS
问题 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