gusucode.com > 《精通matlab 7》包括配套光盘 > 配套光盘里的程序附件/Ex-07/Ex0706.m
%例7-6 字符串的替换 str='Error Msg'; newstr=strrep(str,'Msg','Mail') newstrr=strrep(str,'msg','Mail') %strrep对大小写敏感,替换没有进行