1 ## <a name="Formatting Tokens"></a> Formatting Tokens
3 TWiki defines some standard special tokens that can be used to replace characters in some parameters - notably those to [[FormattedSearch]] and [[IfStatements]] - to defer evaluation of the parameter until later. These special tokens are often called "escapes", because they allow the character to "escape" from its normal meaning.
5 <table border="1" cellpadding="0" cellspacing="0">
7 <td><code>$n</code> or <code>$n()</code></td>
8 <td> New line. Use <code>$n()</code> if followed by alphanumeric character, e.g. write <code>Foo$n()Bar</code> instead of <code>Foo$nBar</code></td>
11 <td><code>$nop</code> or <code>$nop()</code></td>
12 <td> Is a "no operation". This variable gets removed; useful for nested search </td>
15 <td><code>$quot</code></td>
16 <td> Double quote (<code>"</code>) (\" also works) </td>
19 <td><code>$percnt</code></td>
20 <td> Percent sign (<code>%</code>) </td>
23 <td><code>$dollar</code></td>
24 <td> Dollar sign (<code>$</code>) </td>
28 If you ever find yourself needing to escape an escape, you can use `$dollar` to escape the leading dollar, thus: `$dollarpercnt`.