No replaceLast() method in String
Alex Kravets
kravets.dev at gmail.com
Tue Mar 20 21:50:26 UTC 2012
So the next question is why Matcher doesn't implement it :)
On Mar 20, 2012 2:35 PM, "Mike Duigou" <mike.duigou at oracle.com> wrote:
> 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().
>
> Mike
>
> 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