Accessing the last item in a line

Pete pete at
Sun Aug 21 17:50:59 EDT 2011

It seems that if the last item in a string is empty, then trying to access
it by using "item -1" returns the penultimate item, not the last one.  For
example, given the string "a,b,"  item -1 of that string comes back as "b".
 This is on LC 4.6.2, OS X 10.6.8.  Is this expected behavior?

Molly's Revenge <>

More information about the Use-livecode mailing list