commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ola Berg" <ola.b...@ports.se>
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.

/O


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message