Re: converting to mixed case

2007-02-26 Thread jm
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

Re: converting to mixed case

2007-02-26 Thread John W. Krahn
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:

Re: converting to mixed case

2007-02-26 Thread Ken Foskey
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

Re: converting to mixed case

2007-02-26 Thread Jay Savage
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

Re: converting to mixed case

2007-02-26 Thread D. Bolliger
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

Re: converting to mixed case

2007-02-26 Thread Adriano Ferreira
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

converting to mixed case

2007-02-26 Thread jm
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