我有一个关于客观C.问题我已经如下图所示以下的NSString *名称:转换引用的字符串不带引号
"First Name","Second Name","Last Name";
其实,名称是CSV的头并从URL接收。我使用以下语句将语句分解为数组。
NSMutableArray *csvTitleArray;
csvTitleArray = [[name componentsSeparatedByString:@","];
数组的结果是
[0] = "First Name" // the " is part of the string, it means the first char of [0] is ", not F
[1] = "Second Name"
[2] = "Last Name"
不过,我想取消“在开始和字符串的结束(下称”是字符串的一部分。任何人都可以帮我吗?谢谢。