On Friday 05 Sep 2003 2:25 pm, Jenda Krynicky wrote:
> From: Gary Stainburn <[EMAIL PROTECTED]>
>
> > 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.
>
> $text =~ s/(\w+)/\L\u$1/g;$y

Thanks Jenda,

BTW, I did get the split/join verysion working - don't know what I'd done 
wrong.

Which method would be quickest?

Eventually, I'll be using this to convert/tidy three years work of customer 
details, which I'm guessing will be extensive.

>
> Jenda
> ===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
> When it comes to wine, women and song, wizards are allowed
> to get drunk and croon as much as they like.
>       -- Terry Pratchett in Sourcery

-- 
Gary Stainburn
 
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000     


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

Reply via email to