1.字符串分割

S = regexp(str, char, 'split')

例子:

    S = regexp(fileName, '\.', 'split');

    newName = [ S{1} '.txt'];

相关文章:

  • 2022-12-23
  • 2022-02-08
  • 2021-11-17
  • 2021-10-11
  • 2022-12-23
  • 2021-04-21
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-20
  • 2021-04-03
  • 2021-11-29
  • 2021-11-29
  • 2022-01-18
相关资源
相似解决方案