Hire Me! I'm currently looking for my next role in developer relations and advocacy. If you've got an open role and think I'd be a fit, please reach out. You can also find me on LinkedIn.

If you are DISPLAYING the variable, use pounds:

<cfoutput>
Hi #name#
</cfoutput>

If you are working the variable, don't:

<cfset shortName = left(name,6)>

If you are using the variable in a string, you must use pounds:

<cfset fullname = "#firstname# #lastname#">

Of course, you could also write the above as:

<cfset fullname = firstname & " " & lastname>