thanks to all for your suggestions. Adriano had exactly what i was looking
for:
$address =~ s/(\w)(\w*)/\u$1\L$2/g;
works like a charm.
i should have left out the periods and uppercase state abbreviations, i'm
sure that didn't help clarify what i wanted.
thanks again.
On 2/26/07, Adriano Fe
Adriano Ferreira wrote:
> On 2/26/07, jm <[EMAIL PROTECTED]> wrote:
>> is there a function, module, script, etc. that converts all uppercase to
>> proper mixed case. this particular need is for an address list that
>> is all
>> uppercase
>
> Doing it blindly, can be easily achieved with regexes:
On Mon, 2007-02-26 at 11:54 -0600, jm wrote:
> is there a function, module, script, etc. that converts all uppercase to
> proper mixed case. this particular need is for an address list that is all
> uppercase
>
> 1370 W 14TH ST
> ADA,OK
> 74837
>
> i would like to convert it to
>
> 1370 W. 14th
On 2/26/07, jm <[EMAIL PROTECTED]> wrote:
is there a function, module, script, etc. that converts all uppercase to
proper mixed case. this particular need is for an address list that is all
uppercase
1370 W 14TH ST
ADA,OK
74837
i would like to convert it to
1370 W. 14th St.
Ada, OK
74837
tha
jm am Montag, 26. Februar 2007 18:54:
Hi
> is there a function, module, script, etc. that converts all uppercase to
> proper mixed case. this particular need is for an address list that is all
> uppercase
This description of what you want to achieve does not correspond to the
example below; yo
On 2/26/07, jm <[EMAIL PROTECTED]> wrote:
is there a function, module, script, etc. that converts all uppercase to
proper mixed case. this particular need is for an address list that is all
uppercase
Doing it blindly, can be easily achieved with regexes:
$address =~ s/(\w)(\w*)/\u$1\L$2/g;
w
is there a function, module, script, etc. that converts all uppercase to
proper mixed case. this particular need is for an address list that is all
uppercase
1370 W 14TH ST
ADA,OK
74837
i would like to convert it to
1370 W. 14th St.
Ada, OK
74837
thanks for any help,
joe
--
since this is a g