iOS数组和字符串的转化

NSMutableArray *components = [messageStr componentsSeparatedByString:@"*"] ;

反过来为

NSStrig *str = [components componentsJoinedByString:@"*"];

posted @ 2015-07-23 00:39  幻想无极  阅读(948)  评论(0编辑  收藏  举报