Executes CFML/Lucee code that you provide as a string.
render(CFML[, dialect ])
→ returns void
current template's dialectCFMLLuceeDescription of the code example
str = 'hello world';
savecontent variable="changed"{
render("#replace(str,'world','universe')#!");
}
writeOutput(str);
writeOutput(changed);
Expected Result: hello worldhello universe!
Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.