SetVariable() - set a variable with name and value
SetVariable.cfm
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>SetVariable function example: how to set a variable with name and value</title>
</head>
<body>
<h2 style="color:Crimson">SetVariable Function Example</h2>
<cfset MyID=5>
<cfset Setvariable("ID" & MyID,"Jones" )>
<cfset SetVariable("City","Rome")>
<cfoutput>
<b>ID5:</b> #ID5#
<br />
<b>City:</b> #City#
</cfoutput>
</body>
</html>
- CreateUUID() - create an Universally Unique Identifier (UUID)
- Decrypt() - decrypt a string that is encrypted using a standard encryption technique
- CreateObject() - create a coldfusion object (type component)
- GetComponentMetaData() - get meta data for a cfc (coldfusion component)
- DE() - escape any double-quotation marks in the parameter and wraps the result in double-quotation marks
- Evaluate() - evaluate one or more string expressions dynamically from left to right