Fixed bug in splitOn
Merge pull request #45 from Winston-Chan/nathan

Fixed bug in splitOn