Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Find First character of each word in a string

by phenom (Chaplain)
on Nov 24, 2010 at 16:28 UTC ( #873494=note: print w/replies, xml ) Need Help??


in reply to Find First character of each word in a string

Another one liner way:

perl -e 'print uc substr( $_, 0, 1 ) for split(/\s+/, shift())' "Inter +nal Computing Department"

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://873494]
help
Chatterbox?
[Corion]: ambrus: Sorry for running out on you yesterday regarding the HTTP module discussion
[Corion]: I hope I'll find time to turn my quest(ion) into a SoPW ;)

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2016-12-08 10:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (139 votes). Check out past polls.