March 4, 2010
2:27 p.m.
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