Day 14. Using ColdFusion Functions to Manipulate Data

As you move into building advanced templates, there will be times when you'll wish you could do more with the contents of your variables than just display them on the page as-is. To enable you to do this, ColdFusion borrows a concept found in several programming languages—the function. Functions are tools that offer greater control in the way your variables are used and displayed. Functions can be used to compare variables, to trim extra characters from them, to convert them to uppercase or lowercase, and even to see whether the variables exist at all. Today's lesson will look at three types of ColdFusion functions and describe those most commonly used. In today's lesson, you'll learn to

Get Sams Teach Yourself ColdFusion® in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.