Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Splitting a string to chunks

by Not_a_Number (Prior)
on Nov 29, 2006 at 15:15 UTC ( [id://586714]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    'substr_loop2' => sub
    {
      my @arr;
      my $s = $str;
      push @arr, substr $s, 0, 8, '' while $s;
    },
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-03-29 02:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found