Keep It Simple, Stupid | |
PerlMonks |
ucfirst(uclast(lc($user))) ?by nop (Hermit) |
on Mar 09, 2002 at 13:36 UTC ( [id://150558]=perlquestion: print w/replies, xml ) | Need Help?? |
nop has asked for the wisdom of the Perl Monks concerning the following question:
I want to capitalize the first and last letter of a string. This works but strikes me as excessive: Is there something preferable? (This title of this posting is a joke, I know there isn't uclast) nop
Back to
Seekers of Perl Wisdom
|
|