Day 14
Quiz
1: | When do ColdFusion functions require hash-mark delimiters? |
A1: | Just like variables, functions require hash marks when they appear between <CFOUTPUT> and </CFOUTPUT> tags. If they appear as part of a tag, such as <CFIF SomeFunction(SomeVariable)>, the marks aren't required . |
2: | Are function names case-sensitive? |
A2: | Function names are not case-sensitive, although it's a good idea to use ColdFusion's suggested case (such as DollarFormat()) to make them easy to identify in your template pages . |
3: | Name two functions that might be used to trim leading or trailing spaces from a text string. |
A3: | LTrim() strips leading spaces; RTrim() works on trailing spaces. |
4: | Briefly describe a date/time object. |
A4: | A date/time object is a special unit that ... |
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.