Render()
Similar to the Evaluate() function, this function executes Lucee tag code that you provide as a string and returns any output as a string.
Introduced: 5.0.0.0
Render( code=string );
Returns: String
Argument | Description |
---|---|
code
string,
required
|
The code to evaluate, e.g. Alias: cfml |
Examples
dynamicFunction = "<cfscript>echo( 'Guten tag!' )</cfscript>";
render( dynamicFunction );
See also
- Evaluate()
- <cfsavecontent>
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)