No replaceLast() method in String

Alex Kravets kravets.dev at gmail.com
Tue Mar 20 09:28:37 PDT 2012


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 jdk8-dev mailing list