I'd recommend Athanasius's solution though:@array = unpack 'x*X3 .@0/(a4X3)', $string;
@array = $string =~ m/(?=(.{4}))/g;
In reply to Re: How can I split a string into chunks of 4 characters
by oiskuu
in thread How can I split a string into chunks of 4 characters
by PetreAdi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |