NSMutableArray *components = [messageStr componentsSeparatedByString:@"*"] ;
反过来为
NSStrig *str = [components componentsJoinedByString:@"*"];
iOS数组和字符串的转化
原文:http://www.cnblogs.com/hxwj/p/4669124.html