Sergei, doesn't java.lang.String#format fit your need ? just my 2 cents Enrico
Il giorno ven 10 lug 2020 alle ore 13:14 <sergei.visot...@gmail.com> ha scritto: > Hi, > > > > I am a Java Developer and during my development practice I have some new > functionality to provide for an Apache Commons Lang3 library - StringUtils > class. > > As is writted in CONTRIBUTING.md I would like to discuss with you first. > > The main purpose of a changes I would like to provide is to add an ability > for format any kind of message in the following way. > > > > Example: > > Input: > > We have happened an error {} with some kind of specific interesting thing: > {}, ERROR_1, something > > > > Output: > > We have happened an error ERROR_1 with some kind of specific interesting > thing: something > > > > There are some additional new functuionality that I would like to offer to > StringUtils, similar to the following. > > So if it is in scope of Commons I would like to create a Pull Request with > a > changes proposal. > > The main question: Does it need to Commons Lang or not? > > > > Kind regards, > > Sergei Visotsky > > > >