SYNOPSIS<sb> ... $variables ... </sb>
DESCRIPTION<sb>
and </sb>
enable and disable, respectively,
automatic search and replace of printed variables, after a search and
replace list is set with the SANDBLAST
or SANDCALL
commands to fmtcp
.
DIAGNOSTICS<sb>
and </sb>
have no effect on $ret
.
EXAMPLE<$x = "A red rose.">
<fmtcp "sandblast" "red" "blue">
Original: $x
<sb>Replace "red" with "blue": $x</sb>
The output would be:
Original: A red rose.
Replace "red" with "blue": A blue rose.
CAVEATS
The sb
function was added in version 2.1.899870000 19980708.
sandr
-style replacement strings (e.g. special backslash escapes)
are not yet supported.
Debug-syntax variable output ($?myVar
etc.) is not searched (in
versions prior to version 7.07.1580929458 20200205, debug-syntax
variables could cause errors). Force on/off HTML mode variable output
($+myVar
/$-myVar
) is searched, but the +
/-
variable flag is ignored.