March 25, 2015
2:35 p.m.
Hi Nicolas,
On 24 Mar 2015, at 16:32, Nicolas Cellier <nicolas.cellier.aka.nice@gmail.com> wrote: I think you're looking after the number of common chars only at beginning. Wouldn't the method finder hit a better match?
Yes. your right. I found the method I was actually needing that gives me the behavior I expected. String>>charactersExactlyMatching:
The method works as advertised in the comment. Though I find it very questionnable: Doesn't "match" imply some other semantic like pattern matching (and thus things like wild character etc...)? Is such specific behavior usefull? Really? Why/Where?
What is misleading is that the howManyMatch: is in String. I believe it should be moved up to SequencableCollection Noury