blue_cowdawg has asked for the wisdom of the Perl Monks concerning the following question:
DADGUMMIT!
Once upon a time I used to use a regex that IIRC used tr to convert the case of strings on word boundaries and I just can't remember how I did it.
Example: I have a name that is in all caps "YOSEMITE SAM" and I want to convert it to "Yosemite Sam."
I remember doing this and it was really simple, but dadgummit if I can remember or figure it out again. The worst part of it is that I used it as an example in a class I taught and my lecture notes are not here they are at home.
Just about as bad as losing the formula for ice cubes.
| Peter L. Berghold | Schooner Technology Consulting, Inc. |
| Peter@Berghold.Net | www.berghold.net |
| Unix Professional Services | |
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Changing case on a word boundary
by zigdon (Deacon) on Oct 28, 2002 at 20:45 UTC | |
by blue_cowdawg (Monsignor) on Oct 28, 2002 at 21:07 UTC | |
|
Re: Changing case on a word boundary
by BrowserUk (Patriarch) on Oct 28, 2002 at 20:50 UTC |