Use the third parameter to split. From the docs:
If LIMIT is unspecified or zero, trailing null fields are stripped (which potential users of pop would do well to remember). If LIMIT is negative, it is treated as if an arbitrarily large LIMIT had been specified.
If you want to retain all empty trailing fields, specify -1 as the third parameter.
In reply to Re: Do I have to trick Split?
by BrowserUk
in thread Do I have to trick Split?
by $h4X4_|=73}{
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |