这是我的代码,csv文件是
“Hello,Baby”,Testing
ByeBye,Testing
当我打印出 rowArray 时,我发现结果包含“
“Hello,Baby”
我怎样才能删除它
- (IBAction)importToDatabase:(id)sender {
NSString *csvFilePath = [NSString stringWithFormat:@"%@/Documents/%@",NSHomeDirectory(),@"test1.csv"];
if([[NSFileManager defaultManager] fileExistsAtPath:csvFilePath])
NSLog(@"Exist");
else
NSLog(@"NOT EXIST");
NSArray *rowArray = [NSArray arrayWithContentsOfCSVFile:csvFilePath];
NSLog(@"%@",[[rowArray objectAtIndex:0]objectAtIndex:0]);
}