On Tue, May 02, 2017 at 10:48:08AM -0700, David Mertz wrote: > Maybe your API is for any length tuple, with the final element repeated. > So I guess maybe this example could be: > > "0113225551212".rchunk((2,2,3,1,2,3),'-') That's what I meant. -- Steve