in reply to How to split a string based on the length of a sequence of characters within the string
It is probably faster than a regex or a split, but unpack is likely to be the fastest solution (if speed matters in your case). This is a link to a post where I used several different methods to solve your exact problem and to a benchmark on those various methods I did some time ago: Re: Performance problems on splitting long strings.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to split a string based on character(s) length
by thanos1983 (Parson) on Aug 13, 2014 at 20:26 UTC | |
by Laurent_R (Canon) on Aug 13, 2014 at 21:18 UTC |