Skip to main content
Inspiring
August 22, 2006
Question

What is the best way to get the true lenght of a list

  • August 22, 2006
  • 2 replies
  • 285 views
Counting all the elements, including the empty ones?

Do I need to modify the list to put some throwaway character to get all
the elements counted, or is there a better way?

For Example: listLen("This is an Element,,") needs to equal 3.
This topic has been closed for replies.

2 replies

Inspiring
August 22, 2006
maybe this UDF: http://www.cflib.org/udf.cfm?id=961
Or this one: http://www.cflib.org/udf.cfm?id=507
HTH
--
Tim Carley
www.recfusion.com
info@NOSPAMINGrecfusion.com
August 22, 2006

Would counting how many delimiters there are in the list help?


Good luck!