Perl-Sensitive Sunglasses | |
PerlMonks |
Re: How to split a string based on character(s) lengthby Anonymous Monk |
on Aug 13, 2014 at 16:36 UTC ( [id://1097314]=note: print w/replies, xml ) | Need Help?? |
See the documentation of split: if you include a capture group in the regular expression, split will include the separator in its output.
In Section
Seekers of Perl Wisdom
|
|