Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: Fast Way to Split String in to Chunk of Equal Length

by BrowserUk (Pope)
on Nov 25, 2011 at 20:23 UTC ( #940126=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while ($seq =~ /(.{3})/sg) {
       # Substring in $1
       ...
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://940126]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2020-03-31 03:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    To "Disagree to disagree" means to:









    Results (179 votes). Check out past polls.

    Notices?