webCOMAND

cTemplate Text Directives

Directives to analyze and manipulate text strings.

Example

#/ process and manipulate some text
#LOCAL($replacement, "web developer")
#LOCAL($text, "How many monkeys does it take to screw in a lightbulb?")
#NEW($replacement)#TEXT(Pluralize, $replacement)#ENDNEW
#NEW($text)#REGEXREPLACE(/monkeys/, $replacement)#ENDNEW
#TEXT(EncodeBase64, $text, 24)