Voici mon code et le fichier csv est
« Bonjour, bébé », Test
ByeBye, Test
iOS lire le fichier CSV en utilisant CHCSVParser
Quand j'imprimer le rowArray, je trouve que la résultat contient "
« Bonjour, bébé »
Comment puis-je enlever
- (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]);
}