fundflow has asked for the wisdom of the Perl Monks concerning the following question: ⭐ (strings)
Is there a better way to capitalize a string than
s/(\w+)/\u$1/g
?
s/(\w+)/\u$1/g
?
Originally posted as a Categorized Question.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: What is the best way to capitalize a string?⭐
by plaid (Chaplain) on Jul 15, 2000 at 00:53 UTC | |
Re: What is the best way to capitalize a string?⭐
by chromatic (Archbishop) on Jul 15, 2000 at 00:54 UTC | |
Re: What is the best way to capitalize a string?
by galande (Initiate) on Nov 24, 2000 at 13:32 UTC |
Back to
Seekers of Perl Wisdom