Padded Token Suffixes

Navigation:  Tokens > Token Suffixes >

Padded Token Suffixes

Previous pageReturn to chapter overviewNext page

You can use Padded Tokens to display the result of any token with everyone of its characters separated from the others by one or more characters (Special Characters tokens are also allowed). To do this simply add the text to use as padding inside a pair of angular brackets < and >.

 

[token<padding>]

 

For example, this allows you to display elements such as 2.0.0.4 (using a dot as padding character) or month names vertically (using a return, &s, as padding characters).

 

Token

Sample Result

[yyyy<.>]

2.0.0.4

[MMM<&s>]

F

E

B

 

Note that if you are using Filler Tokens inside a Padded Token, then the padding and its angular brackets should appear before the filler delimiters.

 

Important: If you use padding inside a macro token, then you should be aware that token padding will be inserted differently, depending if the result of the macro contains other tokens or not. If the result of the macro contains tokens, then it is assumed that the padding should be inserted into each of the result's tokens. However, if the result of the macro is text that does not contain any tokens, then the padding is applied to the macro token as a whole, in a manner similar to the way padding tokens behave normally.


Topic 175175 updated on 16-Feb-2007.
Topic URL: http://www.qppstudio.net/webhelp/index.html?paddedtokens.htm