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

Split a Ruby string in 80 characters long size chunks

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