Well, once I get rid of the punctuaion, I want to split the resulting string into individual components and place each component in an array.
Here's what I have now:
Code:
NSString *sourceData = source.text;
NSString *filteredData = [sourceData stringByReplacingOccurrencesOfString:@"," withString:@" "];
NSArray *components = [filteredData componentsSeparatedByString:@" "];
NSLog(@"%@", components);
But the way I'm doing it I get null entries in the array where the comma used to be.
Code:
2009-11-08 10:33:22.868 AppName[5619:207] (
Andrew,
"",
Doug,
"",
Jim,
""
)
Maybe this is more of an array issue at this point I don't really know.