You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Gary Gregory <gg...@seagullsw.com> on 2003/08/21 08:01:10 UTC
[lang] StringUtils.differenceAt()
Hello,
We have new 2.0 method called differenceAt() but I believe it is not named
correctly. Methods with "At" usually receive an index argument, like
String.charAt(). This method /returns/ an index.
I think indexOfDifference() would be better and in the same vein as
String.indexOf().
Gary
(fyi, off to bed if there is any voting goin' on)