In article <[EMAIL PROTECTED]>, 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.
--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
On Fri, Sep 05, 2003 at 12:29:31PM -0700, david wrote:
> John Fisher wrote:
>
> > I am trying to figure out how clever it actually is.
> > I reversed \L\u with \u\L expecting different results and got the same
> > result. Another Company Name Ltd
> >
> > Why didn't reversing the metacharacters c
John Fisher wrote:
> I am trying to figure out how clever it actually is.
> I reversed \L\u with \u\L expecting different results and got the same
> result. Another Company Name Ltd
>
> Why didn't reversing the metacharacters change the results.
>
[snip]
>
> $pt=~s/(\w+)/\u\L$1/g
>
> $pt=~s/
I am trying to figure out how clever it actually is.
I reversed \L\u with \u\L expecting different results and got the same result.
Another Company Name Ltd
Why didn't reversing the metacharacters change the results.
the \L escape forces lowercase
When written in lowercase (\l and \u), they affec
On Friday, September 5, 2003, at 08:52 AM, Gary Stainburn wrote:
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
Jenda Krynicky said:
> 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
\L\
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 sp
Gary Stainburn said:
> Hi folks,
>
> I've got a problem I hope you can help me with.
>
> 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
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
Jenda
= [EMAIL PROTECTED] === ht
On Friday, September 5, 2003, at 08:14 AM, Gary Stainburn wrote:
Hi folks,
I've got a problem I hope you can help me with.
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.
Hi folks,
I've got a problem I hope you can help me with.
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
12 matches
Mail list logo