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