ValueRenderer: improve string rendering a little

* Use Character.toString() instead of building our own String.
* Use .charAt() from CharSequence: it avoids duplicating the String into a
  char[].