You are here:
STALklubben
>
TWiki Web
>
Macros
>
FormattedSearch
>
FormatTokens
(2009-09-12,
ProjectContributor
)
(raw view)
E
dit
A
ttach
---++ Formatting Tokens Foswiki 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. %STARTINCLUDE%| =$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 token gets removed; useful for nested search | | =$quot= | Double quote (="=) (\" also works) | | =$percnt= | Percent sign (=%=) | | =$dollar= | Dollar sign (=$=) | | =$lt= | Less than sign (=<=) | | =$gt= | Greater than sign (=>=) | | =$amp= | Ampersand (=&=) | %STOPINCLUDE% If you ever find yourself needing to escape an escape, you can use =$dollar= to escape the leading dollar, thus: =$dollarpercnt=.
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r1 - 2009-09-12 - 01:59:20 -
ProjectContributor
TWiki
Internetbokning
Log In
(ej för bokning) or
Register
Toolbox
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
Webs
Main
STALklubben
Sandbox
System
TWiki
Deutsch
English
Svenska
Copyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding STALklubben?
Send feedback