Last Updated: February 25, 2016
·
2.726K
· hvasconcelos

Split a Ruby string in 80 characters long size chunks

"abcdefghijklmnpqrstuvwxyz".scan(/.{1,80}/m)