One option is to use a regex to match just two chars at a time--globally--and place the results into an array:
use strict; use warnings; my $string = '8602353907455755'; my @arr = $string =~ /../g; print "@arr";
Output:
86 02 35 39 07 45 57 55Hope this helps!
In reply to Re: Pulling bytes out of string
by Kenosis
in thread Pulling bytes out of string
by mike65535
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |