Replace In A String
Posted: 07 Jul 2012 14:07
I have a String like "(abcdef)" in the selection. I would like replace the "(" with an empty string with a scriptpart like this:
But nothing is replaced. Why ? Who is it correct ?
Code: Select all
MoveStr = Document.SelText; ShowMessage(MoveStr); MoveStr = ScriptUtils.WStringReplaceAll(MoveStr, "(", ""); ShowMessage(MoveStr);