in reply to Re: How can I split a string into chunks of 4 characters
in thread How can I split a string into chunks of 4 characters
"push @a, $1 while s/(.{1,4})//;" produces the following: "0123 4abc", which is not the desired result.
Dave
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How can I split a string into chunks of 4 characters
by Lennotoecom (Pilgrim) on Dec 06, 2013 at 21:36 UTC | |
by AnomalousMonk (Archbishop) on Dec 06, 2013 at 22:15 UTC |