Fix ArrayIndexOutOfBoundsException on empty string
Merge pull request #4 from jako512/fix-empty-string

Fix ArrayIndexOutOfBoundsException on empty string