Den 04.03.2010 14:40, skrev Julian Fitzell:
> I'm not sure, but in ANSI, indexOfSubcollection:startingAt: is defined
> as returning 0 (no match) for an empty collection.
>   
If a string can not contain the empty string, then how can (and does) it
start/end with it?
IMHO, to be consistent, the set of what I contain should be a strict
superset of what I begin/end with.

In that regards, according to the ansi-standard, returning false is correct.

Cheers,
Henry

_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to