Tim Blair wrote:

use listfirst and listlast over listgetat any day!



Or you could always do away with listlast() and use this instead:


#reverse(listfirst(reverse(mylist), "-"))#

How helpful am I?



Very helpful, ESPECIALLY if there are ooooh I dunno... 100 items in the list? Reversing the list is REALLY sensible.


Listlast is useful in situations where the list is *long*. 3 list items is not going to be a big deal with listgetat, but 300 is!

Paul

--
These lists are syncronised with the CFDeveloper forum at 
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by 
activepdf.com*
     *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com*
          *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]



Reply via email to