On Tue, 22 Jul 2003, Phil Steitz wrote:

> sliceFirst(s^x^t, x) + sliceFirstRemainder(s^x^t, x) = s^t
>
> The question is, is this symmetry worth the strange definition (at least
> strange to me) of sliceFirstRemainder which returns the full string when
> it does not include the delimiter.

Nope. I'm +1 to remove it.

> Sorry to open up this can of worms just now.  Bad timing, but good to
> get it out on the table. I will provide a patch to make and document the
> changes above if we want to go this route.

Good timing.

> One important disclaimer: I never bonded with Perl and I have no idea
> how closely the above defs would match Perl behavior.

Nah, I abused the perl chomp concept to make it more useful to me. Nothing
perl-ish in these methods anymore.

Hen


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to