No replaceLast() method in String

Mike Duigou mike.duigou at
Tue Mar 20 18:35:24 UTC 2012

I took a look through the bug database and can't find a reason (if there was one). It's likely not implemented because Matcher doesn't implement replaceLast().


On Mar 20 2012, at 09:28 , Alex Kravets wrote:

> Hi,
> I was looking at String API and noticed that there are methods for string
> replacement: replace, replaceAll, replaceFirst but no replaceLast. Without
> getting into detail of how to implement replaceLat (I know how), why was
> this method not included in String API? I am just curious about this.
> Thanks,
> Alex

More information about the core-libs-dev mailing list