in reply to Fast Way to Split String in to Chunk of Equal Length
note also that in this code the last non-triplet is silently discarded.
This could be, or not, what you want, so maybe you'll need to fix thismy $seq = qw(CCCTCTCTCCCAGGGGCAAA); prints: CCC TCT CTC CCA GGG GCA AA discarded
|
|---|