Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: split function

by hbm (Hermit)
on Sep 10, 2012 at 20:38 UTC ( #992849=note: print w/replies, xml ) Need Help??


in reply to split function

Here is one easy way of many:

$prot = "HKTTLDSSRTTTTAABNNRFGHGHGYYH"; say for/.{3}/g;

Says:

HKT TLD SSR TTT TAA BNN RFG HGH GYY

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://992849]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2017-01-17 21:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (158 votes). Check out past polls.