objective c - parse strings separated by 2 elements -


on mac os x, in ojective-c, wanted know if give me pointers how parse strings contained between "x" , "y".

my current code enables me separate strings separated 1 componennt :

nsarray * alllines = [thedataobject componentsseparatedbystring:@"word-1"]; 

ideally, isolate strings contained between @"word-1" , @"word-2".

could please? in advance!

check documentation nsscanner. methods want -scanuptostring:intostring: , -scanstring:intostring:


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -