fix array manipulation when doing string format

https://github.com/paulcbetts/splat/issues/36
string format length only needs to be 3
Merge pull request #43 from SimonCropp/master

fix array manipulation when doing string format