StringReplace alternatives to improve performance

前端 未结 8 751
温柔的废话
温柔的废话 2021-02-04 12:46

I am using StringReplace to replace > and < by the char itself in a generated XML like this:

StringReplace(xml.Text,\'>\',\'>\',[rfReplaceA         


        
8条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-04 13:07

    Systools (Turbopower, now open source) has a ReplaceStringAllL function that does all of them in a string.

提交回复
热议问题