我从web服务中得到了响应,如下所示
Result =     (
            (
        "Test1",
        "Test2",
        "Test3",
        "Test4",
        Test5
    )
);By,dict objectForKey:@"Result";我正在获取值
(
        "Test1",
        "Test2",
        "Test3",
        "Test4",
        Test5
    )那么,如何从NSSting格式中获取数组格式的值呢?
例如。数组:- Test1、Test2、Test3、Test4、Test5
有没有人可以回复。
提前谢谢。
发布于 2012-08-27 18:31:21
尝试此代码:
NSMutableArray* arrCountryName = (NSMutableArray *)[yourString componentsSeparatedByString: @","];https://stackoverflow.com/questions/12140193
复制相似问题