Example string:
NSString * exampleString =
@""
"#--- delimiter2 ---"
"bla,"
"bla,"
"bla"
"#--- delimiter2 ---"
"yoip,"
"yoip,"
"yoip"
"#--- delimiter3 ---"
"etc,"
"etc,"
"etc,"
"etc,"
"etc,"
"etc,"
"etc";
我想用一个阵列,把它当作:
[anyArray objectAtIndex:0] = @"bla,bla,bla"
[anyArray objectAtIndex:1] = @"yoip,yoip,yoip"
[anyArray objectAtIndex:2] = @"etc,etc,etc,etc,etc,etc,etc"
如果是这样的话,......
任何帮助都值得赞赏:
Thanks