in reply to Re^2: How to split a string based on character(s) length
in thread How to split a string based on the length of a sequence of characters within the string
returns a list of strings just like$input =~ /(.{1,10})/g
does. (In list context, of course.)unpack("(A10)*", $input)
|
|---|