in reply to Re: Split a string with multiple trailing delimeters?
in thread Split a string with multiple trailing delimeters?

Actually a negative limit works as an infinitely large value and you don't have to worry about that one edge case n years down the road that surpasses what you've chosen that usually is large enough.</nit>

Quoth the docs for split:

If LIMIT is negative, it is treated as if an arbitrarily large LIMIT had been specified.

The cake is a lie.
The cake is a lie.
The cake is a lie.

  • Comment on Re^2: Split a string with multiple trailing delimeters?