0 votes
361 views
asked in Objective C by (2.6k points)
how to spite the string in objective-c?

1 Answer

0 votes
answered by (4.2k points)

hi

for sample

   @"Check|26,rose|22,freekicktube.com|30,facebook|32,google|54"

 

The following line...

testArray2 = [s componentsSeparatedByString:@"|"];

Categories

...