Forum


Replies: 3   Views: 3346
Addtemplatevariable spacing
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 anmaier11  · 12-07-2012 - 11:03

Hello,

when i use addTemplateVariable, is it possible to erase spacing after a variable in case it is empty?

e.g. $ADDRESS$ $TITLE$ $NAME$

When $TITLE$ is empty, i have two spaces between address and name, there should be only one.


Andreas