i agree with henri that this would not be an appropriate addition to StringUtils (for the reasons that he gives).

i don't see any reasons why a new CharUtils class could not be created and these methods included in that class. having said that, i think that two methods is below the critical mass required for that class to be successful and this isn't my itch...

- robert

On Thursday, March 13, 2003, at 06:46 PM, Henri Yandell wrote:


Personally I'm against them.


If we do this method, why are we not adding a char override for every
method that takes a String as an argument in that way? ie) countMatches,
chomp/chompLast[after renaming], getNestedString, indexOfAny, leftPad,
replace, reverseDelimitedString, strip etc.

Is there any reason why split/join are special?

StringUtils is already huge and adding lots of overrides just seems to
make it even larger. Just looking at the javadoc, I have to wonder why we
need the Object[] and the Iterator [okay, i'm actually for this one] and
why we don't have an Iterator option for concatenate.

Just my -2 new pence :)

Hen

On Thu, 13 Mar 2003, Henning P. Schmiedehausen wrote:

Hi,

what must I do to get this enhancement into commons-lang dev?

        Regards
                Henning


-- Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH [EMAIL PROTECTED] +49 9131 50 654 0 http://www.intermeta.de/

Java, perl, Solaris, Linux, xSP Consulting, Web Services
freelance consultant -- Jakarta Turbine Development  -- hero for hire

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to