My strings are fine, but when they get added to an array a weird grouping of "\n\t\t" gets added to the end. So the string "Apple", becomes "Apple\n\t\t" when I look at the array description.
Whats the deal with that? and how do I fix it?
Addition:
Its XML code. It seemed like [currentPlace appendString:string]; would get the right part, then add the \n\t\t next time round. I solved this by alternating using a boolean:
if (alternate == NO) {
[currentPlace appendString:string];
alternate = YES;
} else {
alternate = NO;
}
Is there a better way to alternate? I remember there being a case + break way, but I forget how to do it.