Posts

Showing posts from January, 2024

How to remove null from Coldfusion Lists

Below is a code example to remove null values from a list in coldfusion. <cfset exlist = ",,4,5,6,,7"> <cfdump var="#exlist#"> <cfset arr = ListToArray(exlist)> <cfset exlist1 = arraytolist(arr)><br> <cfdump var="#exlist1#">