Hi,
How could I extract a part of an NSString before certain word(s):
For example:
If the keyword set of 'separators' is an NSArray of the following words "Series" and "documentary"
and if the NSStrings where
"Chain two Series documents" <---- I'd like to extract "Chain two"
"Chain documentary documents" <---- I'd like to extract "Chain"
Thanks