该帮助的版本不再更新,请参见https://www.jmp.com/support/help/zh-cn/15.2 获取最新的版本.


The Substitute() function returns a copy of a string with a replacement expression. The Substitute Into() function changes the original string with a replacement expression.
str1 = str2 = "All things considered";
str3 = Substitute( str1, "All", "Some" );
str4 = Substitute Into( str2, "All", "Some" );
Show( str1, str2, str3, str4 );