That's how split is documented to work. You will likely want to set a negative LIMIT parameter.
In reply to Re: foreach skipping elements by Corion in thread foreach skipping elements by tiggyboo