Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: split function

by hbm (Hermit)
on Sep 10, 2012 at 20:38 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://992849]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (6)
As of 2024-03-28 23:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found