Test the Misc Template

This page is a sampling of the sunlabs.brazil.sunlabs.MiscTemplate. You should look at the source to see the markup that is generating this page.

case conversion

: =>

Ranges

range(): =>

Trimming

<stringop trim=""> [] => []

Stripping

"" strip "":

String conversion

converting: "\lb\gbold\l/b\g and \a or \q bla.":
* : ()

Map names

<mapnames src=header.* dst=TEST${mapCount}-(${0})-${1} case=upper>
=

Sequences

<sequence count=10>:
<sequence count=5 start=2 incr=3>:
<sequence count=7 start=foo delim=,>:

Increment

start with "":

Expressions

7 *(2 + 3) / 4 =
:

append


Random

(-2 + [0-9]) =
(foo + [0-100] alpha) =
(100 + [0-100] hex) =

inline

This is inline content This is bold and I am on port. ${port} The end
inlined content (as entered)
inlined content
converted to title case
"eval=true" turned on
This is inline content This is bold and I am on port. ${port} The end

eval

, inline content:
after "eval":

Eval can defer markup evaluation to the end of the page, using "atEnd=true". We repeated the "eval" above that way.