Use explode() instead if split()

Split is marked as deprecated as of PHP 5.3.0
Merge pull request #1130 from mlocati/patch-82

Use explode() instead if split()