webCOMAND

#SOURCE

Returns the contents of a variable before any cTemplate code is processed, if it is a variable that references a cTemplate field.

Prototype

#SOURCE($variable)

Parameters

  • variable - A variable containing cTemplate code.

Example

#CONTEXT(Template, Header)
The cTemplate code is: #SOURCE($Text)
#ENDCONTEXT

Result

There are 12 bytes in "Hello World!"

Related

#COUNT returns the number of items in a collection.