Package java.lang
Class StringBuffer
void getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin)
_INSERT_METHOD_SIGNATURE_HERE_
Parameters
Description:
Copies the characters from this sequence into the destination character array dst. The first character to be copied is at index srcBegin. The last character to be copied is at index srcEnd - 1. The total number of characters to be copied is srcEnd - srcBegin. The characters are copied into the subarray of dst starting at index dstBegin and ending at index: dstbegin + (srcEnd-srcBegin) - 1.
Note that unicode symbols might occupy up to three entries in the string buffer. Be carefull with the indices when using non ASCII symbols!