Richard Colman wrote: > Anyone know the proper syntax for checking whether a list member exists, > like: > > <cfif isdefined("listgetat(message,6, ' ')")> > > Which does not work, BTW.
You can't do it that way. listgetat() will fail with an index out of bounds error (essentially). <cfif listLen(message," ") gte 6> <cfset foo = listgetat(message,6,"")> </cfif> <cfif isDefined("foo")> ... </cfif> or something like that. Rick ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:242364 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54