Convert integers to strings before using substring
Merge pull request #7 from vierbergenlars/patch-1

Convert integers to strings before using substring