From: Martin DeMello Date: 2011-02-10T20:58:24+09:00 Subject: Re: How to split string by x bytes? On Thu, Feb 10, 2011 at 3:39 PM, Yan Bernacki wrote: > I have big string. > I want to get array of parts of strings (each 256 bytes). > What method is faster? string.scan /.{256}/ martin