The following line…
testArray2 = [s componentsSeparatedByString:@"|"];
will cause the array to now contain 3 items, instead of 2….. no need to split again!
The following line…
testArray2 = [s componentsSeparatedByString:@"|"];
will cause the array to now contain 3 items, instead of 2….. no need to split again!