Articles about cftrigger
-
Jul 2010 about Coldfusion cftrigger array
Array is a data type that exists in almost any programming languages. Although Coldfusion has provided many useful functions to work with arrays including some quite unique to Coldfusion such as ArrayToList, ArrySort, etc., I find many are still missing. For example, there is no function to remove duplicated items (huh?) and I use this one a lot. What about a function to reverse an array? Guess what, it's not there either (at least not natively in coldfusion). So I went ahead and made my own ones.
In this article, I will show you the 3 functions that I find very useful: ArrayUnique, ArrayReverse and ArrayUnion. Read full article