tadman has asked for the wisdom of the Perl Monks concerning the following question: ⭐ (strings)
As in:
@bits = chunk($scalar, $bytes);
Which would return $scalar in @bits, each $bytes size, plus
the remainder in the last entry.
Originally posted as a Categorized Question.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How can I split a string into chunks of size n bytes?⭐
by Masem (Monsignor) on Apr 23, 2001 at 22:37 UTC | |
Re: How can I split a string into chunks of size n bytes?⭐
by davido (Cardinal) on Oct 02, 2003 at 23:35 UTC | |
by Aristotle (Chancellor) on Oct 02, 2003 at 23:55 UTC | |
Re: How can I split a string into chunks of size n bytes?⭐
by MeowChow (Vicar) on Apr 24, 2001 at 10:15 UTC |
Back to
Seekers of Perl Wisdom