and if you are unsure but want the last character for odd length strings you can:
my @list = $str =~ /(..?)/g;
In reply to Re^2: Split on every second character
by GrandFather
in thread Split on every second character
by gri6507
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |