CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Need a Custom or Prewritten Perl Program?: I need a program that...:
perl sting parsing

 



plalwa
New User

Oct 23, 2008, 8:36 PM

Post #1 of 2 (1612 views)
perl sting parsing Can't Post

hi,



I need a program in perl which parse a string and gives block letter words as output.

eg: theproblemsisADAM SMITH HAS TO SOLVE A PROBLEMthankyou

output should be ADAM SMITH HAS TO SOLVE A PROBLEM.

Thanks


KevinR
Veteran


Oct 23, 2008, 10:45 PM

Post #2 of 2 (1611 views)
Re: [plalwa] perl sting parsing [In reply to] Can't Post

no program needed for that:

perl -pi.bak -e 'tr/a-z//d' inputfile
-------------------------------------------------

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives