Override slow java.lang.String methods.
Merge pull request #330 from mcav/strings

Override slow java.lang.String methods.