Page 1 of 1

WstringReplaceAll doesn't replace "

Posted: 28 Mar 2012 13:50
by pjj
This code works fine--unless you use """ (i.e. the entity) as a search term:

Code: Select all

Document.SelectAll;
s = Document.SelText;
s = ScriptUtils.WstringReplaceAll(s, """, "whatever");
Document.SelText = s;