Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: uc() every other letter

by Sifmole (Chaplain)
on Sep 28, 2001 at 16:16 UTC ( [id://115377]=note: print w/replies, xml ) Need Help??


in reply to uc() every other letter

If you really want to upcase only A's, C's, E's etc. You could use the tr/// construct.
my $word = "The quick brown fox"; $word =~ tr/acegikmoqsuwy/ACEGIKMOQSUWY/;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://115377]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (1)
As of 2024-04-24 15:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found