Paulo Levi wrote:

What about adding a method to String complementing the call toCharArray(),
only it takes 3 arguments:
An char array, a position and a length, that inside uses System.arrayCopy.

Isn't that exactly what

  String#getChars(0, length, charArray, dstpos)

does?

(see also http://java.sun.com/javase/6/docs/api/java/lang/String.html#getChars(int,%20int,%20char[],%20int) )

cu

Reply via email to