- A Visionary Creation of 1st Insight Communications

The Business Leadership Wikipedia: Formatting Tokens

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.

$n or $n() New line. Use $n() if followed by alphanumeric character, e.g. write Foo$n()Bar instead of Foo$nBar
$nop or $nop() Is a "no operation". This variable gets removed; useful for nested search
$quot Double quote (") (\" also works)
$percnt Percent sign (%)
$dollar Dollar sign ($)

If you ever find yourself needing to escape an escape, you can use $dollar to escape the leading dollar, thus: $dollarpercnt.

  • 003CompassImageSm.gif:
    003CompassImageSm.gif
Topic attachments
I Attachment Action Size Date Who Comment
gifgif 003CompassImageSm.gif manage 7.2 K 22 Oct 2008 - 16:32 Main.trailrunnerz  
Topic revision: r5 - 31 Oct 2008 - 13:04:25 - DavidSmith
Main.FormatTokens moved from TWiki.FormatTokens on 22 Oct 2008 - 16:33 by Main.trailrunnerz - put it back
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback