美文网首页
OC - 字符串分割

OC - 字符串分割

作者: 摇曳 | 来源:发表于2017-08-24 09:18 被阅读0次

    NSArray * array = [ptr componentsSeparatedByString:@" "];

    NSString *string = array[0];

    相关文章

      网友评论

          本文标题:OC - 字符串分割

          本文链接:https://www.haomeiwen.com/subject/waysdxtx.html