objective c - Extract the text between the two substring in NSString -


I need to remove all the lines between the two stars, such as start and end in nsstring

For example,

  & lt; Some text & gt; Start Line 1 Line 2 & lt; Some text & gt; Start Line 1 Line 2 Completion   

I need to discard all the lessons that are not coming under these blocks. Any idea how to do it

see -componentsSeparatedByString: in NSSTING DOCUMENTATION.

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -