componentsSeparatedByString:

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

反过来为

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

相关文章:

  • 2021-11-25
  • 2022-12-23
  • 2021-10-15
  • 2021-12-11
  • 2022-12-23
  • 2022-01-02
  • 2021-12-18
猜你喜欢
  • 2021-08-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-12
  • 2022-12-23
相关资源
相似解决方案