Re: split() ideas

2000-09-28 Thread John Porter
Jonathan Scott Duff wrote: > > 1. Allow the first argument to split() to be a number such that >the string is broken into chunks of that many characters. @strings = /(.{$n})/g; > 2. Allow the first argument to split() to be an array of >numbers, such t

Re: split() ideas

2000-09-28 Thread Graham Barr
On Thu, Sep 28, 2000 at 01:02:11PM -0500, Jonathan Scott Duff wrote: > I thought I had sent this the other day, but it doesn't appear to have > made it through... > > Here are a couple of ideas that I don't have time to RFC, but some who > likes them might: > > 1. Allow the first argumen

split() ideas

2000-09-28 Thread Jonathan Scott Duff
I thought I had sent this the other day, but it doesn't appear to have made it through... Here are a couple of ideas that I don't have time to RFC, but some who likes them might: 1. Allow the first argument to split() to be a number such that the string is broken into chunks o