replace () function is replaced

replace () method syntax:

str.replace (old, new [, max ])
Parameters
old - substring to be replaced.
new - new string for replacing old substring.
max - optional string, alternatively no more than max times

Guess you like

Origin www.cnblogs.com/qmjy/p/11361147.html