--On Friday, September 05, 2003 2:14 PM +0100 Gary Stainburn <[EMAIL PROTECTED]> wrote:
I've got to tidy some data, including converting case. I need to convert
ANOTHER COMPANY NAME LTD **
to
Another Company Name Ltd **
while retaining spaces.
I've tried using split / join / lc / ucfirst which does most of the work but loses the spacings.
I guess that there's a regex that will do this but I'm at a loss how.
I'd try using Text::Autoformat to do the bulk of the work, and then do any necessary "cleanup" afterwards.
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]