Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2016-10-01 15:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (579 votes). Check out past polls.