iphone 字符串

  • 分割字符串

    NSString * fruits = @"apple,pair,banana,orange";
    NSArray  * array= [fruits componentsSeparatedByString:@","];

posted @ 2012-11-09 16:11  李伯波  阅读(140)  评论(0编辑  收藏  举报