fix wrong String.at/2 output when second arg is not an integer
Merge pull request #2877 from jw2013/string

fix wrong String.at/2 output when second arg is not an integer