Number of items
J. Landman Gay
jacque at hyperactivesw.com
Mon Oct 25 12:43:00 EDT 2021
Delimiters signify the end of a unit, like a period at the end of a
sentence. The delimiter basically "belongs" to the string preceeding it.
There was a long discussion here quite a while ago about this and Mark
Waddingham posted some interesting and difficult issues that would arise if
the rule were changed. If I can find that discussion I'll post a link.
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On October 25, 2021 10:24:54 AM Paul Dupuis via use-livecode
<use-livecode at lists.runrev.com> wrote:
> Why is it a feature? (I'm sorry, I am sure it has been explained before
> in these lists)
>
> I searched the Quality Center and could find no open bug entry for this.
> As LC 9.6.3 still gives and item count of ",1" as 2 and an item count of
> "1," as 1 that this is indeed the expected behavior?!?
>
> I would have personally expected them both to be 2, but perhaps these is
> a reason trailing empty items are not counted?
More information about the use-livecode
mailing list