Evaluate() - evaluate one or more string expressions dynamically from left to right
Evaluate.cfm
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Evaluate function example: how to evaluate one or more string expressions dynamically from left to right</title>
</head>
<body>
<h2 style="color:Crimson">Evaluate Function Example</h2>
<cfoutput>
<b>Result of expression[(10+5)*5]:</b> #Evaluate((10+5)*5)#
<br />
<b>Result of expression[(10+5+5)*5]:</b> #Evaluate((10+5+5)*5)#
<br />
<b>Result of expression[(10+5)/5]:</b> #Evaluate((10+5)/5)#
</cfoutput>
</body>
</html>
- CreateUUID() - create an Universally Unique Identifier (UUID)
- Decrypt() - decrypt a string that is encrypted using a standard encryption technique
- Encrypt() - encrypt a string using a specific algorithm and encoding method
- IsUserInRole() - determine whether an authenticated user belongs to the specified role
- IsUserLoggedIn() - determine whether a user is logged in
- 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
- SetVariable() - set a variable with name and value