Forum


Replies: 1   Views: 3237
Replace « with blank
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by krishna shah  · 13-05-2016 - 11:14

Hello sir, 

I am using phpdocx-pro version right now. I have word document with the merge fields variables. When I am trying to replace it, it works fine but didn't remove « » before and after variable.

Template variable: «$Test1$»

replaceVariableByText : array('Test1',replacementText)

It replaced with «replacementText»

How can I remove that symbol after variable replacement?

Thank you in advance.