commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ola Berg" <>
Subject Re: [PATCH][LANG] StringUtils.trimNull(String)
Date Thu, 23 Jan 2003 07:28:42 GMT

> Which is StringUtils.trim. Already there.
> Like Dave, I'm not sure I can see converting "" to null as a highly common
> thing to do. In fact, I'd expect people to want the reverse more often
> [which I suspect Dave might like}, convert any null passed in into "".

Leonardo, what's the use case for StringUtils.trimNull( str)?

I, like Hen and Dave, have difficulties seeing one that occurs often for most people, which
would motivate inclusion.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message