I'm not sure if you mean the array is empty or an element in the array is empty, but both are easily checked.
<!--- makes sure the array is not empty --->
<cfif NOT ArrayIsEmpty(vanityArray)>
.........
</cfif>
<!--- making sure a particular element in the array is not empty --->
<cfset elementIndex = 1 /> <!--- this can be any value you want between 1 and ArrayLen(vanityArray) --->
<cfif Len(vanityArray[elementInd
......
</cfif>
Main Topics
Browse All Topics





by: sandy12879Posted on 2007-06-12 at 02:58:56ID: 19264731
<cfset variables.temp = trim(replaceNoCase(ArrayTo List(vanit yArray, ","),",",""))> )>
<cfif isdefined("variables.temp"
blaha blaha.....
<cfelse>
blaha blaha.....
</cfif>
it shd work for you