如 S1 = s2.replace(‘1’,’Z’);
    replace(); 将目标字符串替换为输入字符串。