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
Post a Comment