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#"> 

Comments

Popular posts from this blog

how to add new line in google form questions | Fix for next line issue in google form questions

How to add new line in dropdown type question in google forms