|There's more than one way to do things|
Re: In search of a better way to trim stringby rrwo (Friar)
|on Jul 20, 2004 at 04:12 UTC||Need Help??|
Hm, there's Text::Truncate:
It may not be the most efficient way to do it, but you don't have to think about how to do it.
Disclaimer: I wrote that module a while ago because I was sick of rewriting a routine to do that all the time. Any ideas for improvements would be appreciated.