I know how to split a scalar every character:
But how can a split it every OTHER character, so
?
-Ed ;-)
Code:
$scalar = 'AABBCC';
@list = split('', $scalar);
Code:
@list = ('AA', 'BB', 'CC')
-Ed ;-)
________________________________
Destiny is not a matter of chance; it is a matter of choice.
Destiny is not a matter of chance; it is a matter of choice.