Re: Commons Lang substitution

2015-11-18 Thread Alex Soto
ubstitutor subst = new StrSubstitutor(valuesMap, "$", ""); // > NONE_MATCHER for suffix initially > subst.setVariableSuffixMatcher(StrMatcher.trimMatcher()); > > HTH, > > Woonsan > > > On Tue, Nov 17, 2015 at 2:20 PM, Jörg Schaible <joerg.schai...@gmx.de> > wr

Re: Commons Lang substitution

2015-11-17 Thread Alex Soto
Hi, thank you for your answers, Jörg I think that StrMatcher is for implementing where you want to get information to be replaced on the string, not for parsing issues. El dl., 16 nov. 2015 a les 21:38, Jörg Schaible () va escriure: > Benedikt Ritter wrote: > > > Hello, >

Commons Lang substitution

2015-11-14 Thread Alex Soto
Hi I have two special requirements that I think that Common-Lang StrSubstitutor does not cover, but I would like to know if it is correct or not. The first requirement is that I would like to know if there is a way to make StrSubstitutor works with using simple character as prefix and no suffix.