Hi,
I wanted to know if there is any (easy) method to find the order of a given array of substrings in an NSString?
I have a large block of text and a few substrings. I'm only interested in the order that the substrings first appear in the text.
So if the text was "can you tell me you are working late if you can" and the substrings were "can", "if" and "you", I'd want an array that contains the substrings in the following order: can, you, if.
It'd be fairly lengthy to parse the text my self so I'm wondering if there is free functionality for this?
Thanks