Bootstrap

Delphi 替换字符串函数StringReplace

//替换字符串的函数 参数 str:原串; s: 将被替换掉的字符; 替换成的newstr; 
//[rfReplaceAll]全部替换(替换类型)
StringReplace(str,oldstr,newstr,[rfReplaceAll])
;