Please enable JavaScript to view this site.

 

Navigation: Tokens > Token Suffixes

Padded Token Suffixes

Scroll Prev Up Next More

Padded Tokens are used to display the result of a token with each of its resulting characters separated by one or more characters.

 

Padding can include special character markers.

 

To use a padded token, 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.2.1

[MMM<&s>]

F

E

B

 

Combining padding and fillers

 

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.

 

Padding in macro tokens

 

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.

 

See also: filled tokens and separator tokens.

 


Topic 175175, last updated on 13-Dec-2022