MapMapM
MapMapM
2013-02-28 03:15

将一个字符串分割成多个字符串

  • objective-c
  • string
  • iphone

有一个字符串:

011597464952,01521545545,454545474,454545444|Hello this is were the message is.

我希望每串数字都能在不同string中,

NSString *Number1 = 011597464952 
NSString *Number2 = 01521545545
etc
etc
NSString *Message = Hello this is were the message is.

怎么样完整的将字符串分割?

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

1条回答

为你推荐

换一换