in reply to Re: Splitting a String into n-character parts, without using a regex
in thread Splitting a String into n-character parts, without using a regex

That approach works in this case; but for general strings, it would miss the last part of the string if it's too short (ie. less than 2 \w chars).
@row = 'aabbccddee' =~ /\w{1,2}/g;
will capture the last section too
  • Comment on Re^2: Splitting a String into n-character parts, without using a regex
  • Download Code